<commit_before>graylog2
========

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


Table of Contents
-----------------

1. [Overview](#overview)
1. [Installation](#installation)
    * [Librarian-Puppet](#librarian-puppet)
    * [Puppet Module Tool](#puppet-module-tool)
    * [Manual Installation](#manual-installation)
1. [Usage](#usage)
1. [Authors](#authors)
1. [Credits](#credits)
1. [License](#license)


Overview
--------

This module manages a [graylog2](http://www.graylog2.org) setup including the
[server](https://github.com/Graylog2/graylog2-server) and the
[web-interface](https://github.com/Graylog2/graylog2-web-interface).

Supported plattforms:
* Debian 7
* Ubuntu 14.04
* CentOS 6.5


Installation
------------

There is an implicit dependency to Elasticsearch and MongoDB - make sure to
set those up properly before using this module! You can use existing Puppet
modules to do that.

* [elasticsearch/elasticsearch](https://forge.puppetlabs.com/elasticsearch/elasticsearch)
* [puppetlabs/mongodb](https://forge.puppetlabs.com/puppetlabs/mongodb)

### Librarian-Puppet

    mod 'graylog2/graylog2', 'x.x.x'

Check for the latest version!

### Puppet Module Tool

    puppet module install graylog2/graylog2

### Manual Installation

This module depends on:
* [puppetlabs/apt](https://github.com/puppetlabs/puppetlabs-apt)
* [puppetlabs/stdlib](https://github.com/puppetlabs/puppetlabs-stdlib)

So all repositories have to be checked out:

```bash
git clone https://github.com/Graylog2/graylog2-puppet.git modules/graylog2
git clone https://github.com/puppetlabs/puppetlabs-apt.git modules/apt
git clone https://github.com/puppetlabs/puppetlabs-stdlib.git modules/stdlib
```


Usage
-----

A Graylog2 example including the server and the web-interface component. The
module does **not** setup Elasticsearch and MongoDB so make sure to have those
installed as well!

```puppet
class {'graylog2::repo': version => '0.21'}

class {'graylog2::server':
  password_secret    => '<PASSWORD>',
  root_password_sha2 => '<PASSWORD>'
}

class {'graylog2::web':
  application_secret => 'veryStrongSecret',
}
```

Authors
-------

* <NAME> ([@grafjo](https://github.com/grafjo))
* <NAME> ([@BuJo](https://github.com/BuJo))
* <NAME> ([@zivis](https://github.com/zivis))

Credits
-------

To the package maintainers:
* [@hggh](https://github.com/hggh) for providing debs
* [@jaxxstorm](https://github.com/jaxxstorm) for providing rpms

License
-------

puppet-graylog2 is released under the MIT License. See the bundled LICENSE file
for details.
<commit_msg>Add dependencies to usage example.<commit_after>graylog2
========

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


Table of Contents
-----------------

1. [Overview](#overview)
1. [Installation](#installation)
    * [Librarian-Puppet](#librarian-puppet)
    * [Puppet Module Tool](#puppet-module-tool)
    * [Manual Installation](#manual-installation)
1. [Usage](#usage)
1. [Authors](#authors)
1. [Credits](#credits)
1. [License](#license)


Overview
--------

This module manages a [graylog2](http://www.graylog2.org) setup including the
[server](https://github.com/Graylog2/graylog2-server) and the
[web-interface](https://github.com/Graylog2/graylog2-web-interface).

Supported plattforms:
* Debian 7
* Ubuntu 14.04
* CentOS 6.5


Installation
------------

There is an implicit dependency to Elasticsearch and MongoDB - make sure to
set those up properly before using this module! You can use existing Puppet
modules to do that.

* [elasticsearch/elasticsearch](https://forge.puppetlabs.com/elasticsearch/elasticsearch)
* [puppetlabs/mongodb](https://forge.puppetlabs.com/puppetlabs/mongodb)

### Librarian-Puppet

    mod 'graylog2/graylog2', 'x.x.x'

Check for the latest version!

### Puppet Module Tool

    puppet module install graylog2/graylog2

### Manual Installation

This module depends on:
* [puppetlabs/apt](https://github.com/puppetlabs/puppetlabs-apt)
* [puppetlabs/stdlib](https://github.com/puppetlabs/puppetlabs-stdlib)

So all repositories have to be checked out:

```bash
git clone https://github.com/Graylog2/graylog2-puppet.git modules/graylog2
git clone https://github.com/puppetlabs/puppetlabs-apt.git modules/apt
git clone https://github.com/puppetlabs/puppetlabs-stdlib.git modules/stdlib
```


Usage
-----

A Graylog2 example including the server and the web-interface component. The
module does **not** setup Elasticsearch and MongoDB so make sure to have those
installed as well!

```puppet
class {'graylog2::repo':
  version => '0.21'
} ->
class {'graylog2::server':
  password_secret    => 'veryStrongSecret',
  root_password_sha2 => '<PASSWORD>'
} ->
class {'graylog2::web':
  application_secret => 'veryStrongSecret',
}
```

Authors
-------

* <NAME> ([@grafjo](https://github.com/grafjo))
* <NAME> ([@BuJo](https://github.com/BuJo))
* <NAME>ssel ([@zivis](https://github.com/zivis))

Credits
-------

To the package maintainers:
* [@hggh](https://github.com/hggh) for providing debs
* [@jaxxstorm](https://github.com/jaxxstorm) for providing rpms

License
-------

puppet-graylog2 is released under the MIT License. See the bundled LICENSE file
for details.

{'fraction_non_alphanumeric': 0.16590649942987457, 'fraction_numerical': 0.01444317749904979, 'mean_word_length': 4.310797174571141, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 22, 'https://': 32, 'lorem ipsum': 0, 'www.': 2, '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': '1389816', 'n_tokens_mistral': 1909, 'n_tokens_neox': 1794, 'n_words': 404}