summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2013-01-25 15:18:11 +0100
committerGabriel Filion <gabster@lelutin.ca>2015-04-18 23:53:36 -0400
commit0b20e1e0fd001cb0b688c6bf6971c8e7c3f743c6 (patch)
tree3bf25dfbe20db43f1845d5f71bc0ef5a2d9c8053 /manifests
parent05d89061c02979aec4edb402b93f95d6e0d9ad4c (diff)
adding Debian specific nrpe template (fixes stop/restart of nrpe-server)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nrpe.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/nrpe.pp b/manifests/nrpe.pp
index 5c05ed4..3ef7d07 100644
--- a/manifests/nrpe.pp
+++ b/manifests/nrpe.pp
@@ -8,6 +8,11 @@ class nagios::nrpe {
include nagios::nrpe::freebsd
}
+ 'Debian': {
+ if $nagios_nrpe_pid_file == '' { $nagios_nrpe_pid_file = '/var/run/nagios/nrpe.pid' }
+ if $nagios_plugin_dir == '' { $nagios_plugin_dir = '/usr/lib/nagios/plugins' }
+ include nagios::nrpe::linux
+ }
default: {
if $nagios_nrpe_pid_file == '' { $nagios_nrpe_pid_file = '/var/run/nrpe.pid' }
if $nagios_plugin_dir == '' { $nagios_plugin_dir = '/usr/lib/nagios/plugins' }