aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:14:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:14:07 -0300
commite0982845a5781c542ac3efa3b8c7d6b7f7db8087 (patch)
tree0962affef2f286917dac476c113320f76e41c4d5
parentc80b8348d7b3befb9cff496bb0443a0d05385b26 (diff)
downloadpuppet-backupninja-e0982845a5781c542ac3efa3b8c7d6b7f7db8087.tar.gz
puppet-backupninja-e0982845a5781c542ac3efa3b8c7d6b7f7db8087.tar.bz2
Oops
-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,