From f6cdb278a75088a38b18a565563e7900321b925b Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Wed, 14 Jan 2009 22:42:50 -0500 Subject: 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 --- manifests/rdiff.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') 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 -- cgit v1.2.3