summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-18 14:38:01 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-18 14:38:01 -0500
commit3c21e594e653c890f65b7749972a28d0be6981c0 (patch)
tree457883c50a89caca548002112031391242a4410c /manifests
parentedcd0859b16583e0a328bd03b95a66e1125d2bc2 (diff)
remove fqdn from nagios service description (hostname is used in the internal nagios_service name)
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index ccfe2c2..07f34e5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -218,7 +218,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_${fqdn}_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
+ default: { nagios::service{ "ssh_port_${sshd_port}": check_command => "ssh_port!$sshd_port" } }
}
}