Commit 008b69a7 authored by Jerome Charaoui's avatar Jerome Charaoui

give sandbox user $home a saner default

parent 3f141734
......@@ -38,10 +38,13 @@ define backupninja::rdiff(
}
$real_home = $home ? {
false => "/home/${user}-${name}",
false => $backupdir ? {
'' => "/backup/${fqdn}",
default => "${backupdir}/${fqdn}",
},
default => $home,
}
$directory = "$real_home/rdiff-backup/"
$directory = "${real_home}/rdiff-backup/"
backupninja::server::sandbox
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment