From 9302bb5d6e6e8ed040027b8cbff606f7238ec02d Mon Sep 17 00:00:00 2001 From: nadir Date: Mon, 13 Feb 2012 11:42:27 +0100 Subject: service.pp: added nrpe support --- manifests/service.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests') 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}": -- cgit v1.2.3