This module only supports Graylog 1.x!
We started a new Puppet module for Graylog 2.0 over at: https://forge.puppet.com/graylog/graylog
This one is deprecated and no longer maintained.
This module manages a Graylog setup including the server and the web-interface.
Supported Graylog versions:
- 1.0, 1.1
Supported platforms:
- Debian 7
- Ubuntu 14.04
- CentOS 6.5
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.
mod 'graylog2/graylog2', 'x.x.x'
Check for the latest version!
puppet module install graylog2/graylog2
This module depends on:
So all repositories have to be checked out:
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
A Graylog 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!
class {'graylog2::repo':
version => '1.1'
} ->
class {'graylog2::server':
password_secret => 'veryStrongSecret',
root_password_sha2 => 'sha256PasswordHash'
} ->
class {'graylog2::web':
application_secret => 'veryStrongSecret',
}
Installing graylog-radio with default settings (deprecated since Graylog 1.0)
class {'graylog2::repo':
version => '1.1'
}->
class {'graylog2::radio': }
To the community package maintainers. (The official Graylog packages are used now.)
- @hggh for providing debs
- @jaxxstorm for providing rpms
graylog2-puppet is released under the MIT License. See the bundled LICENSE file for details.