aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-01-05 21:48:19 -0500
committerMicah Anderson <micah@riseup.net>2010-01-05 21:48:19 -0500
commit8766fcdd82cdb67eb4b09f4b2f3f959c0c0ec3d0 (patch)
tree6a2ec36d18ec0c4917f9ec6a0a0f52fe66289f1b
parent47733659ae1c79cd8249096455f4b0d863dcad75 (diff)
downloadpuppet-backupninja-8766fcdd82cdb67eb4b09f4b2f3f959c0c0ec3d0.tar.gz
puppet-backupninja-8766fcdd82cdb67eb4b09f4b2f3f959c0c0ec3d0.tar.bz2
enclose namevar in curly braces
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index a64e854..a0bcbf2 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -102,7 +102,7 @@ class backupninja::server {
if $nagios_server {
# configure a passive service check for backups
- nagios2::passive_service { "backups-$name": nagios2_host_name => $real_host, nagios2_description => $real_nagios2_description, servicegroups => "backups" }
+ nagios2::passive_service { "backups-${name}": nagios2_host_name => $real_host, nagios2_description => $real_nagios2_description, servicegroups => "backups" }
}
if !defined(File["$real_dir"]) {