<commit_before># Sensu-Puppet

This module is basically functional.

Tested with Travis CI

[![Build Status](https://travis-ci.org/sensu/sensu-puppet.png)](https://travis-ci.org/sensu/sensu-puppet)

## Installation

$ puppet module install sensu/sensu

## Prerequisites

### Modules

- puppetlabs/apt
- puppetlabs/rabbitmq
- thomasvandoren/redis

See Modulefile for details.

### Others

Pluginsync should be enabled. Also, you need ruby json library/gem on all your nodes.  

## Example
    
### Sensu Server

    node "sensu-server.foo.com" { 
      sensu { "${::fqdn}-sensu-server": 
        rabbitmq_password => "<PASSWORD>", 
        server => true,
        plugins => [ 'puppet:///data/sensu/plugins/ntp.rb',
                     'puppet:///data/sensu/plugins/postfix.rb'
        ]}<commit_msg>Fixed README<commit_after># Sensu-Puppet

This module is functional.

Tested with Travis CI

[![Build Status](https://travis-ci.org/sensu/sensu-puppet.png)](https://travis-ci.org/sensu/sensu-puppet)

## Installation

    $ puppet module install sensu/sensu

## Prerequisites

### Modules

- puppetlabs/apt
- puppetlabs/rabbitmq
- thomasvandoren/redis

See Modulefile for details.

### Others

Pluginsync should be enabled. Also, you need ruby json library/gem on all your nodes.  

## Example
    
### Sensu Server

    node "sensu-server.foo.com" { 
      sensu { "${::fqdn}-sensu-server": 
        rabbitmq_password => "<PASSWORD>", 
        server => true,
        plugins => [ 'puppet:///data/sensu/plugins/ntp.rb',
                     'puppet:///data/sensu/plugins/postfix.rb'
        ]}
{'fraction_non_alphanumeric': 0.1418706842435656, 'fraction_numerical': 0.0, 'mean_word_length': 2.8409638554216867, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '843492', 'n_tokens_mistral': 597, 'n_tokens_neox': 549, 'n_words': 112}