Commit f6cdb278 authored by Antoine Beaupre's avatar Antoine Beaupre

revert part of last commit: the backuptag is really based on the host provided...

revert part of last commit: the backuptag is really based on the host provided to the rdiff command and the host provided to the sandbox is the fqdn of the server
parent b6bf47ef
...@@ -28,7 +28,7 @@ define backupninja::rdiff( ...@@ -28,7 +28,7 @@ define backupninja::rdiff(
$backuptag = false) $backuptag = false)
{ {
$real_backuptag = $backuptag ? { $real_backuptag = $backuptag ? {
false => $fqdn, false => $host,
default => $backuptag default => $backuptag
} }
...@@ -40,7 +40,7 @@ define backupninja::rdiff( ...@@ -40,7 +40,7 @@ define backupninja::rdiff(
backupninja::server::sandbox 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, manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir, key => $key,
authorized_keys_file => $authorized_keys_file, installuser => $installuser, authorized_keys_file => $authorized_keys_file, installuser => $installuser,
backuptag => $real_backuptag backuptag => $real_backuptag
......
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