summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2012-02-13 11:42:27 +0100
committerGabriel Filion <lelutin@gmail.com>2012-04-09 21:09:30 -0400
commit9302bb5d6e6e8ed040027b8cbff606f7238ec02d (patch)
treef1230b48a1ad6d8c1dc5786f3e8148d4bd0752b9 /manifests/service.pp
parentfaf85fa479e63b50cc2a3a7e69db9c0d7eb6e9ca (diff)
service.pp: added nrpe support
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 6f82279..0d95381 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -21,10 +21,10 @@ define nagios::service (
$real_name = "${hostname}_${name}"
if ($use_nrpe == 'true') {
- $real_check_command = "check_nrpe!$check_command!\"$nrpe_args\""
+ $real_check_command = "check_nrpe!$check_command!\"$nrpe_args\""
}
- else {
- $real_check_command = "$check_command"
+ else {
+ $real_check_command = "$check_command"
}
@@nagios_service { "${real_name}":