]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Minor changes
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Aug 2010 01:51:23 +0000 (22:51 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Aug 2010 01:51:23 +0000 (22:51 -0300)
manifests/init.pp

index 50f28346a1f8887fd679ebb37610fb73a2c232de..3c8014ff866de58cab68711ac3d5bf747dfa3bee 100644 (file)
@@ -119,23 +119,23 @@ class backup {
     backupninja::rsync { "rsync-$title.$domain":
       # [general]
       ensure         => $ensure,
-      user           => "$hostname",
-      host           => "$title.$domain",
-      format         => 'long',
+      installkey     => $installkey,
       home           => "$backupdir/remote/$fqdn",
       backupdir      => "$backupdir/remote/$fqdn/rsync",
       backupkeytype  => "dsa",
       backupkeystore => "puppet://$server/files/keys",
+      keepdaily      => '7',
+      keepweekly     => '4',
+      keepmonthly    => '3',
+      format         => 'long',
       # [source]
       include        => $backup_include_encrypted,
       exclude        => $backup_exclude_encrypted,
       # [dest]
+      user           => "$hostname",
+      host           => "$title.$domain",
       port           => $port,
-      installkey     => $installkey,
-      keepdaily      => '7',
-      keepweekly     => '4',
-      keepmonthly    => '3',
-      bandwidthlimit => false,
+      bandwidthlimit => $bandwidthlimit,
       compress       => '1',
     }
   }