Commit d6f5ad38 authored by Silvio Rhatto's avatar Silvio Rhatto

Testing without checking duplicate definition of backupninja_server_realize

parent c0e70d61
......@@ -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"]) {
......
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