aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-12-19 18:08:57 -0500
committerMicah Anderson <micah@riseup.net>2009-12-19 18:08:57 -0500
commitbf57463c0922f8038e3d57b4bf56d2e2c1d81eed (patch)
treed929c40d1dd0f06a9cb66130c372f080a57f427f
parent5713073a1c2f19abac4ae9c783d64dc01a38eba9 (diff)
downloadpuppet-backupninja-bf57463c0922f8038e3d57b4bf56d2e2c1d81eed.tar.gz
puppet-backupninja-bf57463c0922f8038e3d57b4bf56d2e2c1d81eed.tar.bz2
fix the $real_nagios_server variable, this should be $nagios_server as $real_ is not defined anywhere
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 896bac0..7cd5dd1 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -38,7 +38,7 @@ class backupninja::server {
}
cron { checkbackups:
- command => "/usr/local/bin/checkbackups -d $real_backupdir | /usr/sbin/send_nsca -H $real_nagios_server -c /etc/send_nsca.cfg | grep -v 'sent to host successfully'",
+ command => "/usr/local/bin/checkbackups -d $real_backupdir | /usr/sbin/send_nsca -H $nagios_server -c /etc/send_nsca.cfg | grep -v 'sent to host successfully'",
user => "root",
hour => "8-23",
minute => 59,