summaryrefslogtreecommitdiff
path: root/manifests/defaults
diff options
context:
space:
mode:
authorLeLutin <gabster@lelutin.ca>2016-02-25 06:59:19 +0000
committerLeLutin <gabster@lelutin.ca>2016-02-25 06:59:19 +0000
commitc0dee4a2393e23b226e123a427898de94b342141 (patch)
tree449a726cec957808bdc52fd8e46a6acdaead777c /manifests/defaults
parent5163d89155eec6b6b39994d0cd18e6ceeff8b180 (diff)
parent2892e1795a823c2bee2893bc339854dd4f5e5b94 (diff)
Merge branch 'nrpe_params' into 'master'
Nrpe params The nagios::nrpe class is currently completely unusable with puppet 3.x+ This is because it's still relying on global variables. When one tries to setup an nrpe client with nagios::nrpe with puppet 3.x, the following error occurs: ~~~ ==> jessiepuppet: Error: Failed to parse template nagios/nrpe/nrpe.cfg: ==> jessiepuppet: Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb ==> jessiepuppet: Line: 81 ==> jessiepuppet: Detail: Could not find value for 'nagios_nrpe_pid_file' at /etc/puppet/modules/nagios/templates/nrpe/nrpe.cfg:19 ==> jessiepuppet: at /etc/puppet/modules/nagios/manifests/nrpe/base.pp:22 on node jessie.vagrantup.com ==> jessiepuppet: Error: Failed to parse template nagios/nrpe/nrpe.cfg: ==> jessiepuppet: Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb ==> jessiepuppet: Line: 81 ==> jessiepuppet: Detail: Could not find value for 'nagios_nrpe_pid_file' at /etc/puppet/modules/nagios/templates/nrpe/nrpe.cfg:19 ==> jessiepuppet: at /etc/puppet/modules/nagios/manifests/nrpe/base.pp:22 on node jessie.vagrantup.com ~~~ This is because the values of variables defined within nagios::nrpe are not propagated into other classes anymore. This series also changes a default behaviour for creating saner configurations by default: the dont_blame_nrpe option is changed to disable command arguments by default. It also adds some documentation for the nagios::nrpe class since it had no explanation whatsoever of how it should be used in the README. See merge request !18
Diffstat (limited to 'manifests/defaults')
0 files changed, 0 insertions, 0 deletions