diff options
-rw-r--r-- | manifests/rdiff.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp index 587c02d..f750e23 100644 --- a/manifests/rdiff.pp +++ b/manifests/rdiff.pp @@ -25,7 +25,8 @@ define backupninja::rdiff( "/home", "/usr/local/*bin", "/var/lib/dpkg/status*" ], $vsinclude = false, $keep = 30, $sshoptions = false, $options = '--force', $ssh_dir_manage = true, $ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true, $key = false, - $backuptag = false, $home = false, $backupkeytype = "rsa", $backupkeystore = false, $extras = false, $nagios2_description = 'backups') + $backuptag = false, $home = false, $backupkeytype = "rsa", $backupkeystore = false, $extras = false, + $nagios2_description = 'backups', $subfolder = 'rdiff-backup') { include backupninja::client::rdiff_backup @@ -41,7 +42,7 @@ define backupninja::rdiff( false => "/home/${user}-${name}", default => $home, } - $directory = "$real_home/rdiff-backup/" + $directory = "${real_home}/${subfolder}/" backupninja::server::sandbox { |