diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-18 14:38:01 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-18 14:38:01 -0500 |
commit | 3c21e594e653c890f65b7749972a28d0be6981c0 (patch) | |
tree | 457883c50a89caca548002112031391242a4410c | |
parent | edcd0859b16583e0a328bd03b95a66e1125d2bc2 (diff) | |
download | puppet-sshd-3c21e594e653c890f65b7749972a28d0be6981c0.tar.gz puppet-sshd-3c21e594e653c890f65b7749972a28d0be6981c0.tar.bz2 |
remove fqdn from nagios service description (hostname is used in the internal nagios_service name)
-rw-r--r-- | manifests/init.pp | 2 |
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" } } } } |