aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/rdiff.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index ee99821..0228a06 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -28,7 +28,7 @@ define backupninja::rdiff(
$backuptag = false)
{
$real_backuptag = $backuptag ? {
- false => $fqdn,
+ false => $host,
default => $backuptag
}
@@ -40,7 +40,7 @@ define backupninja::rdiff(
backupninja::server::sandbox
{
- "${user}-${name}": user => $user, host => $host, dir => $home,
+ "${user}-${name}": user => $user, host => $fqdn, dir => $home,
manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir, key => $key,
authorized_keys_file => $authorized_keys_file, installuser => $installuser,
backuptag => $real_backuptag