diff options
Diffstat (limited to 'manifests/service.pp')
-rw-r--r-- | manifests/service.pp | 6 |
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}": |