diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-05 17:33:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-05 17:33:26 -0300 |
commit | d6f5ad38919445bc5e611389f83ac7e2335ec9dc (patch) | |
tree | 4e3b850c332aa9142ca32d62257bf263d850e8cf /manifests | |
parent | c0e70d61d406b4e8325d9cd8f5b2336b46d48b8c (diff) | |
download | puppet-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.pp | 10 |
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"]) { |