diff options
Diffstat (limited to 'manifests/rdiff.pp')
-rw-r--r-- | manifests/rdiff.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp index aec4d96..978b961 100644 --- a/manifests/rdiff.pp +++ b/manifests/rdiff.pp @@ -26,14 +26,15 @@ define backupninja::rdiff($order = 90, $keep = 30, $sshoptions = false, $options = false, - $installkeys = true + $installuser = true, + $installkey = true ) { include backupninja::client case $type { 'remote': { case $host { false: { err("need to define a host for remote backups!") } } - backupninja::server::sandbox { "${user}-${name}": user => $user, host => $host, dir => $directory } - backupninja::client::key { "${user}-${name}": user => $user, host => $host, installkeys => $installkeys } + backupninja::server::sandbox { "${user}-${name}": user => $user, host => $host, dir => $directory, installuser => $installuser } + backupninja::client::key { "${user}-${name}": user => $user, host => $host, installkey => $installkey } } } file { "${backupninja::client::configdir}/${order}_${name}.rdiff": |