summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-10-18 15:50:26 -0400
committerMicah Anderson <micah@riseup.net>2010-10-18 15:50:26 -0400
commitf52a66ea0ec13051123eb5ce9fea2f44791e8cee (patch)
tree9290962c283b9a7f177c1086b1b76f1dc25d9f69
parent32fa53a593f4dd58754c56da0e95216028061a16 (diff)
change the default $check_hostname variable to be the localhost interface. This seems to make more sense than using $fqdn
-rw-r--r--manifests/server/nagios.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server/nagios.pp b/manifests/server/nagios.pp
index dde911e..92b35cb 100644
--- a/manifests/server/nagios.pp
+++ b/manifests/server/nagios.pp
@@ -45,7 +45,7 @@ class mysql::server::nagios {
define check_health (
$ensure = present,
- $check_hostname = $fqdn,
+ $check_hostname = '127.0.0.1',
$check_port = '3306',
$check_username = 'nagios',
$check_password = $nagios_mysql_password,