]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
revert part of last commit: the backuptag is really based on the host provided to...
authorAntoine Beaupre <anarcat@koumbit.org>
Thu, 15 Jan 2009 03:42:50 +0000 (22:42 -0500)
committerAntoine Beaupre <anarcat@koumbit.org>
Thu, 15 Jan 2009 03:42:50 +0000 (22:42 -0500)
manifests/rdiff.pp

index ee99821812adbdb0ab1c466a1b877f38955e5ced..0228a06877e996b49e422e28cdb9dc36b6c926d3 100644 (file)
@@ -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