]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
change the nagios2::passive_service check so that it uses the $name variable instead...
authorMicah Anderson <micah@riseup.net>
Tue, 5 Jan 2010 02:46:32 +0000 (21:46 -0500)
committerMicah Anderson <micah@riseup.net>
Tue, 5 Jan 2010 02:46:32 +0000 (21:46 -0500)
manifests/server.pp

index 7cd5dd1750602db01b4241cca9b43feed33af4c1..291ffede8f8e7e1c1a7831a8622c2d7d12f8c8a1 100644 (file)
@@ -97,7 +97,7 @@ class backupninja::server {
 
     if $nagios_server {
       # configure a passive service check for backups
-      nagios2::passive_service { "backups-$real_host": nagios2_host_name => $real_host, nagios2_description => 'backups', servicegroups => "backups" }
+      nagios2::passive_service { "backups-$name": nagios2_host_name => $real_host, nagios2_description => 'backups', servicegroups => "backups" }
     }
     
     if !defined(File["$real_dir"]) {