aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server.pp')
-rw-r--r--manifests/server.pp10
1 files changed, 4 insertions, 6 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 962c416..3ef97ce 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -111,12 +111,10 @@ class backupninja::server {
nagios2::passive_service { "backups-${name}": nagios2_host_name => $real_host, nagios2_description => $real_nagios2_description, servicegroups => "backups" }
}
- if !defined(Backupninja_server_realize["${fqdn}-${real_host}"]) {
- # this defines just maps that $real_host host backups for $fdqn
- @@backupninja_server_realize { "${fqdn}-${real_host}":
- host => $fqdn,
- tag => $real_host,
- }
+ # this defines just maps that $real_host host backups for $fdqn
+ @@backupninja_server_realize { "${fqdn}@${real_host}":
+ host => $fqdn,
+ tag => $real_host,
}
if !defined(File["$real_dir"]) {