aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-06-05 17:33:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-06-05 17:33:26 -0300
commitd6f5ad38919445bc5e611389f83ac7e2335ec9dc (patch)
tree4e3b850c332aa9142ca32d62257bf263d850e8cf /manifests
parentc0e70d61d406b4e8325d9cd8f5b2336b46d48b8c (diff)
downloadpuppet-backupninja-d6f5ad38919445bc5e611389f83ac7e2335ec9dc.tar.gz
puppet-backupninja-d6f5ad38919445bc5e611389f83ac7e2335ec9dc.tar.bz2
Testing without checking duplicate definition of backupninja_server_realize
Diffstat (limited to 'manifests')
-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"]) {