aboutsummaryrefslogtreecommitdiff
path: root/manifests/rdiff.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rdiff.pp')
-rw-r--r--manifests/rdiff.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index ec89006..b1dd7d2 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -32,12 +32,13 @@ define backupninja::rdiff(
'remote': {
case $host { false: { err("need to define a host for remote backups!") } }
+ $real_home = $home ? {
+ false => $directory,
+ default => $home,
+ }
+
backupninja::server::sandbox
{
- $real_home = $home ? {
- false => $directory,
- default => $home,
- }
"${user}-${name}": user => $user, host => $host, dir => $real_home,
manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir,
authorized_keys_file => $authorized_keys_file, installuser => $installuser,