diff options
author | mh <mh@immerda.ch> | 2013-02-04 21:41:05 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-02-04 21:41:05 +0100 |
commit | 8ecac4219f3d5975fba20316c7d469153d2ca4fc (patch) | |
tree | 8fce6dd7c40bb1cfe8ad5996e382538cbf606427 /manifests/nagios.pp | |
parent | 576bbf09d8516809d7373dc9b4e725ce2151a463 (diff) | |
parent | ad6ecdffe7d8267d1bfa74ece164ee1129ca8d26 (diff) | |
download | puppet-sshd-8ecac4219f3d5975fba20316c7d469153d2ca4fc.tar.gz puppet-sshd-8ecac4219f3d5975fba20316c7d469153d2ca4fc.tar.bz2 |
Merge remote-tracking branch 'githubmirror/master'
Diffstat (limited to 'manifests/nagios.pp')
-rw-r--r-- | manifests/nagios.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/nagios.pp b/manifests/nagios.pp index ef5fe10..6921de9 100644 --- a/manifests/nagios.pp +++ b/manifests/nagios.pp @@ -5,18 +5,18 @@ define sshd::nagios( ) { $real_port = $port ? { 'absent' => $name, - default => $port, + default => $port, } case $check_hostname { 'absent': { nagios::service{"ssh_port_${name}": - ensure => $ensure, + ensure => $ensure, check_command => "check_ssh_port!${real_port}" } } default: { nagios::service{"ssh_port_host_${name}": - ensure => $ensure, + ensure => $ensure, check_command => "check_ssh_port_host!${real_port}!${check_hostname}" } } |