aboutsummaryrefslogtreecommitdiff
path: root/manifests/nagios.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-02-04 21:41:05 +0100
committermh <mh@immerda.ch>2013-02-04 21:41:05 +0100
commit8ecac4219f3d5975fba20316c7d469153d2ca4fc (patch)
tree8fce6dd7c40bb1cfe8ad5996e382538cbf606427 /manifests/nagios.pp
parent576bbf09d8516809d7373dc9b4e725ce2151a463 (diff)
parentad6ecdffe7d8267d1bfa74ece164ee1129ca8d26 (diff)
downloadpuppet-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.pp6
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}"
}
}