aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-21 02:49:11 +0200
committermh <mh@immerda.ch>2010-10-21 02:49:11 +0200
commit3200c182e1e272d49b1b3347c544a94e655e1142 (patch)
treeb40c5a1f36820f71f0e0c8099d5cbe9a371c3868
parent8f918b0e7358013e4b2d16759a73b401ab386358 (diff)
downloadpuppet-sshd-3200c182e1e272d49b1b3347c544a94e655e1142.tar.gz
puppet-sshd-3200c182e1e272d49b1b3347c544a94e655e1142.tar.bz2
use realport
-rw-r--r--manifests/nagios.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/nagios.pp b/manifests/nagios.pp
index 4971f65..7742cdb 100644
--- a/manifests/nagios.pp
+++ b/manifests/nagios.pp
@@ -11,13 +11,13 @@ define sshd::nagios(
'absent': {
nagios::service{"ssh_port_${name}":
ensure => $ensure,
- check_command => "check_ssh_port!$port"
+ check_command => "check_ssh_port!$real_port"
}
}
default: {
nagios::service{"ssh_port_host_${name}":
ensure => $ensure,
- check_command => "check_ssh_port_host!${port}!${check_hostname}"
+ check_command => "check_ssh_port_host!${real_port}!${check_hostname}"
}
}
}