Version information
This version is compatible with:
- , ,
This module has been deprecated by its author since May 15th 2020.
The author has suggested graylog-graylog as its replacement.
Start using this module
Documentation
Graylog
WARNING
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 will be deprecated soon.
Table of Contents
Overview
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
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.
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:
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
Usage
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': }
Authors
Credits
To the community package maintainers. (The official Graylog packages are used now.)
- @hggh for providing debs
- @jaxxstorm for providing rpms
License
graylog2-puppet is released under the MIT License. See the bundled LICENSE file for details.
Graylog Puppet Module Changes
1.2.1 (2016-04-29)
DEPRECATION NOTICE
We started a new Graylog Puppet module over at https://forge.puppet.com/graylog/graylog which supports Graylog 2.0.
This module will be deprecated!
- Fix
rest_tls_*_file
validations. (#38) - Fix problem with multiple values for
elasticsearch_discovery_zen_ping_unicast_hosts
. (#36)
1.2.0 (2015-09-14)
- Update for Graylog v1.2 release.
- Added
elasticsearch_request_timeout
option. - Removed
elasticsearch_store_timestamps_as_doc_values
option. - Removed
groovy_shell_enable
andgroovy_shell_port
options.
- Added
1.1.1 (2015-06-26)
- Quote bare integer to pass validation check. (#28)
1.1.0 (2015-06-22)
- Use
required_packages
instead ofrequire
for apt source. (#15) - Added spec tests for
graylog2::server
class. (#18) - Suppress diffs for config files. (#23)
- Update for Graylog v1.1 release. (#26)
- Usage of any
mongodb_*
option other thanmongodb_uri
is deprecated and will log a warning.
1.0.0 (2015-02-17)
- Update for Graylog v1.0 release.
- Drops support for all previous releases.
0.9.1 (2014-12-02)
- Unbreak module by passing missing arguments for server and radio.
0.9.0 (2014-12-02)
- Adjust config templates to 0.92 release.
- Make
graylog2::repo
optional. (#7) - Do not install
apt-transport-https
if the resource is already defined. - Fix problems with newer Puppet versions regarding variables. (#8 / #11)
0.8.0 (2014-11-19)
- Add timeout option for graylog2-web-interface.
- Switch repository URLs to HTTPS.
- Add support for graylog2-stream-dashboard. (#5)
0.7.0 (2014-09-16)
- Add support for managing graylog2-radio. (#3)
- Compatibility fixes for Puppet 2.7.x. (#4)
- Add
command_wrapper
,java_opts
andextra_args
options. (#1, #3)
0.6.1 (2014-08-29)
- Fix puppet-lint warnings.
- README updates to clarify some things.
0.6.0 (2014-08-29)
- Remove default for the
root_password_sha2
parameter. This needs to be set by the user now! - Remove support for Ubuntu 12.04 as there are no official packages for that at the moment.
- Switch to
localhost
for server listen URIs. - Add new configuration options for Graylog 0.21.
- Switch to the official Graylog2 package repositories.
- Initial release under the
graylog2
namespace. This module is based on thesynyx/graylog2
module version 0.5.1.
Dependencies
- puppetlabs/stdlib (>=3.0.0 <5.0.0)
- puppetlabs/apt (>= 1.0.0 < 2.0.0)
The MIT License (MIT) Copyright (c) 2013 synyx GmbH & Co. KG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.