Class graylog2::graylog2
In: /modules/graylog2/manifests/init.pp
Parent:

Class: graylog2

Graylog2.

Parameters:

 $...
   ...

Sample Usage :

 include graylog2

Resources

Resources

File["/etc/graylog2.conf"]
   content => template("graylog2/graylog2.conf.erb")
   owner => "root"
   group => "root"
   mode => "0644"
   notify => Service["graylog2-server"]

Configuration files

File["/etc/sysconfig/graylog2-server"]
   content => template("graylog2/graylog2-server.sysconfig.erb")
   owner => "root"
   group => "root"
   mode => "0644"
   notify => Service["graylog2-server"]
Package["graylog2-server"]
   ensure => installed

Package and service

Service["graylog2-server"]
   enable => true
   ensure => running
   hasstatus => true
   require => Package["graylog2-server"]

[Validate]