Commit d162c842 authored by Silvio Rhatto's avatar Silvio Rhatto

Trying to avoid duplicate definition of backupninja::client::key on backupninja::rdiff

parent 6734c256
......@@ -44,11 +44,13 @@ define backupninja::rdiff(
authorized_keys_file => $authorized_keys_file, installuser => $installuser,
backuptag => $backuptag, keytype => $backupkeytype,
}
backupninja::client::key
{
"${user}-${name}": user => $user, host => $host,
installkey => $installkey
if !defined(Backupninja::client::key["${user}-${name}"]) {
backupninja::client::key
{
"${user}-${name}": user => $user, host => $host,
installkey => $installkey
}
}
}
}
......
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