From 6bf0a1bbc75d7b352b01c58911176411a5de8f41 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 9 Dec 2008 23:05:26 +0000 Subject: adjusted to new usage of booleans --- manifests/init.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'manifests') 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" } } } } -- cgit v1.2.3