Giter VIP home page Giter VIP logo

puppet-opsmatic's Introduction

Opsmatic Puppet Module

Build Status

Overview

This module installs and configures the Opsmatic Puppet Reporter, Opsmatic Agent, and Opsmatic CLI tool.

Requirements

The Opsmatic Puppet Reporter, Opsmatic Agent, and Opsmatic CLI tool are supported on the following platforms:

  • Ubuntu: 10.04, 11.04, 11.10, 12.04, 12.10, 13.04, 13.10 and 14.04.
  • CentOS: 6.x, 7.x.

Usage

To use this module to install Opsmatic Puppet Reporter you will need to set the variable $token in your puppet configuration:

class { 'opsmatic::puppet_reporter':
  token => 'my_integration_token',
}

and make sure to set the report setting in your puppet.conf to true in order to turn on reporting capabilities on agent nodes:

[agent]
    report = true

After that, the manifest will handle the appropriate platform detection and configuration. The Puppet Reporter will run as a daemon waiting for changes performed by Puppet runs, and reporting the results to Opsmatic.

The Puppet Reporter uses the puppet executable command to discover certain configuration values of your infrastructure. If the path of the puppet executable command is not in your $PATH, you will need to set the variable $puppet_bin in your puppet configuration:

class { 'opsmatic::puppet_reporter':
  token => 'my_integration_token',
  puppet_bin => '/usr/bin',
}

To use this module to install the Opsmatic Agent or the Opsmatic CLI tool you will need to set the variable $token in your puppet configuration (Note that you can include additional attributes below):

class { 'opsmatic::agent':
  token => 'my_integration_token',
}

and to install the Opsmatic CLI tool, simply include the following:

class { 'opsmatic::cli':
}

Finally, if you ever want to purge the Opsmatic Puppet Reporter, Opsmatic Agent, and Opsmatic CLI tool from any of your hosts, change the variable $ensure to the following:

class { 'opsmatic::puppet_reporter':
  ensure => 'absent',
}

Attributes

  • $token - this is your integration token.
  • $host_alias - this is the host alias that will override the default hostname.
  • $groups - Array of which group(s) this host is a member of [array of strings]
  • $ensure - ensure the Opsmatic Puppet Reporter, Opsmatic Agent, or Opsmatic CLI tool is installed or not. Give it the value latest to install the latest version available of the package.
  • $filemonitorlist - An array of file-paths to be monitored [array of strings, must be full path of file]

File Monitoring

The Opsmatic Agent has the ability to do file integrity monitoring. You can add a list of these files by passing an array of strings that contain the full file path. To add this to your Puppet runs do the following:

    $filemonitorlist  = ['/etc/nginx/nginx.conf','/etc/ssh/sshd_config','/etc/hosts']

    class { 'opsmatic::agent':
      ...
      filemonitorlist => $filemonitorlist,
      ...
      }

Support

Please create bug reports and feature requests in [GitHub issues] 1. And feel free to contribute:

  1. Fork it ( https://github.com/opsmatic/puppet-opsmatic/fork ).
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create a new Pull Request.

Author:: Opsmatic Inc. ([email protected])

puppet-opsmatic's People

Contributors

acasas avatar evanjones avatar diranged avatar mihasya avatar ch7ck avatar tyrm avatar

Watchers

James Cloos 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.