Coder Social home page Coder Social logo

puppet-kibana's Introduction

Puppet module: kibana

DEPRECATION NOTICE

This module is no more actively maintained and will hardly be updated.

Please find an alternative module from other authors or consider Tiny Puppet as replacement.

If you want to maintain this module, contact Alessandro Franceschi

This is a Puppet module for Kibana3: http://three.kibana.org/ .

It manages its installation and configuration.

The module is based on stdmod naming standars. Refer to http://github.com/stdmod/

Released under the terms of Apache 2 License.

NOTE: This module is to be considered a POC, that uses the stdmod naming conventions. For development time reasons the module currently uses some Example42 modules and prerequisites.

USAGE - Common parameters

  • Installation of kibana with common configuration parameters

      class { 'kibana':
        elasticsearch_url => "http://elastic.${::domain}:9200",
        webserver         => 'apache',
        virtualhost       => 'logs.example42.com', # Default: kibana.${::domain}
        file_template     => 'example42/kibana/config.js',
      }
    

USAGE - Basic management

  • Install kibana fetching the upstream tarball. Note: By default kibana is installed but no webserver is configured to serve its files.

      class { 'kibana': }
    
  • Install kibana and setup apache to serve it with a custom virtualhost

      class { 'kibana':
        webserver   => 'apache',
        virtualhost => 'logs.example42.com', # Default: kibana.${::domain}
      }
    
  • Install kibana from a custom url to a custom destination

      class { 'kibana':
        install_url         => 'http://files.example42.com/kibana/3.1.tar.gz',
        install_destination => '/var/www/html', # Default: /opt
      }
    
  • Define the url of your elastisearch server

      class { 'kibana':
        elasticsearch_url => "http://elastic.${::domain}:9200",
      }
    
  • Install kibana fetching a specific version

      class { 'kibana':
        install => 'upstream',
        version => '3.0.1',
      }
    
  • Install kibana via OS package

      class { 'kibana':
        install => 'package',
      }
    
  • Remove kibana package and purge all the managed files

      class { 'kibana':
        ensure => absent,
      }
    
  • Enable auditing (on all the arguments)

      class { 'kibana':
        audit => 'all',
      }
    
  • Module dry-run: Do not make any change on all the resources provided by the module

      class { 'kibana':
        noop => true,
      }
    

USAGE - Overrides and Customizations

  • Use custom source for main configuration file

      class { 'kibana':
        file_source => [ "puppet:///modules/example42/kibana/kibana.conf-${hostname}" ,
                         "puppet:///modules/example42/kibana/kibana.conf" ],
      }
    
  • Use custom template for main config file. Note that template and source arguments are alternative.

      class { 'kibana':
        file_template => 'example42/kibana/kibana.conf.erb',
      }
    
  • Use a custom template and provide an hash of custom configurations that you can use inside the template

      class { 'kibana':
        file_template       => 'example42/kibana/kibana.conf.erb',
        file_options_hash  => {
          opt  => 'value',
          opt2 => 'value2',
        },
      }
    
  • Specify the name of a custom class to include that provides the dependencies required by the module

      class { 'kibana':
        dependency_class => 'site::kibana_dependency',
      }
    
  • Automatically include a custom class with extra resources related to kibana. Here is loaded $modulepath/example42/manifests/my_kibana.pp. Note: Use a subclass name different than kibana to avoid order loading issues.

      class { 'kibana':
        my_class => 'site::my_kibana',
      }
    

TESTING

Build Status

puppet-kibana's People

Contributors

alvagante avatar rdrgmnzs avatar rymdbullen avatar smerrill avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.