aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-09 23:05:26 +0000
committerMicah Anderson <micah@riseup.net>2009-12-07 16:03:39 -0500
commit6bf0a1bbc75d7b352b01c58911176411a5de8f41 (patch)
tree4308ee98f34949c6861b54d35a7d8081f510fbbb /manifests/init.pp
parent9e36776ee64f35278a593cddf5e5d6880f3e7434 (diff)
downloadpuppet-sshd-6bf0a1bbc75d7b352b01c58911176411a5de8f41.tar.gz
puppet-sshd-6bf0a1bbc75d7b352b01c58911176411a5de8f41.tar.bz2
adjusted to new usage of booleans
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 55703e6..932cd56 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -229,9 +229,8 @@ class sshd::base {
require => File[sshd_config],
}
if $use_nagios {
- case $nagios_check_ssh {
- false: { info("We don't do nagioschecks for ssh on ${fqdn}" ) }
- default: { nagios::service{ "ssh_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
+ if $nagios_check_ssh {
+ nagios::service{ "ssh_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" }
}
}
}