diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/rsync.pp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/manifests/rsync.pp b/manifests/rsync.pp index fc59950..a643415 100644 --- a/manifests/rsync.pp +++ b/manifests/rsync.pp @@ -80,15 +80,14 @@ define backupninja::rsync( $order = 90, ensure_resource('package', 'rsync', {'ensure' => $backupninja::ensure_rsync_version}) # Right now just local origin with remote destination is supported. - $from = 'local' - $dest = 'remote' + $from = 'local' + $dest = 'remote' + $backupdir = "${home}/${subfolder}/" case $dest { 'remote': { case $host { false: { err("need to define a host for remote backups!") } } - $directory = "${home}/${subfolder}/" - backupninja::server::sandbox { "${user}-${name}": user => $user, host => $host, |