aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-02-21 14:01:35 -0500
committerMicah Anderson <micah@riseup.net>2010-02-21 14:01:35 -0500
commit6b660a56a76d9f17137b13979895cf0c460ab6ef (patch)
tree9d8b763fdf62fe1703907ae4144d3bfccf46133b
parent739c9d8e0e915e1e99318a15ce5180d365828d49 (diff)
downloadpuppet-sshd-6b660a56a76d9f17137b13979895cf0c460ab6ef.tar.gz
puppet-sshd-6b660a56a76d9f17137b13979895cf0c460ab6ef.tar.bz2
update nagios check_command to check ssh port. it was using ssh_port, it should be 'check_ssh_port'
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 04769e9..4f82542 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -226,7 +226,7 @@ class sshd {
if $use_nagios {
case $nagios_check_ssh {
false: { info("We don't do nagioschecks for ssh on ${fqdn}" ) }
- default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
+ default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "check_ssh_port!$sshd_port" } }
}
}