summaryrefslogtreecommitdiff
path: root/manifests/nrpe.pp
diff options
context:
space:
mode:
authorGabriel Filion <gabriel@koumbit.org>2011-02-01 16:21:20 -0500
committerGabriel Filion <lelutin@gmail.com>2012-04-09 23:49:18 -0400
commitc9de09ece4508db6b216abd0f74f07ea7befe906 (patch)
tree81a47fe542a2ba04ea4cae8bc377ae951ee2b139 /manifests/nrpe.pp
parentf9f47f1e2af2d7bd4b60c84697fcffe365b1d0dd (diff)
nrpe FreeBSD compatibility
Make some changes to ensure compatibility of the nrpe resources with FreeBSD. * Use group 0 instead of 'root' * capitalize values for testing $operatingsystem * override arguments for the nrpe service so that FreeBSD can find the init script
Diffstat (limited to 'manifests/nrpe.pp')
-rw-r--r--manifests/nrpe.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/nrpe.pp b/manifests/nrpe.pp
index fe75708..c9ecf75 100644
--- a/manifests/nrpe.pp
+++ b/manifests/nrpe.pp
@@ -1,7 +1,7 @@
class nagios::nrpe {
case $operatingsystem {
- 'freebsd': {
+ 'FreeBSD': {
if $nagios_nrpe_cfgdir == '' { $nagios_nrpe_cfgdir = '/usr/local/etc' }
include nagios::nrpe::freebsd