diff options
author | mh <mh@immerda.ch> | 2010-10-21 02:49:11 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-10-21 02:49:11 +0200 |
commit | 3200c182e1e272d49b1b3347c544a94e655e1142 (patch) | |
tree | b40c5a1f36820f71f0e0c8099d5cbe9a371c3868 /manifests | |
parent | 8f918b0e7358013e4b2d16759a73b401ab386358 (diff) | |
download | puppet-sshd-3200c182e1e272d49b1b3347c544a94e655e1142.tar.gz puppet-sshd-3200c182e1e272d49b1b3347c544a94e655e1142.tar.bz2 |
use realport
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/nagios.pp | 4 |
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}" } } } |