Commit 8766fcdd authored by Micah Anderson's avatar Micah Anderson

enclose namevar in curly braces

parent 47733659
......@@ -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"]) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment