]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
some corrections to duplicity handler.
authordrebs <drebs@riseup.net>
Mon, 13 Jul 2009 06:40:09 +0000 (03:40 -0300)
committerdrebs <drebs@riseup.net>
Mon, 13 Jul 2009 06:40:09 +0000 (03:40 -0300)
manifests/dup.pp

index 11fca074a54c252a5c6df9be9971c9a3868844e0..610a2d0fccac68f2d51c69730ed2e8874f59f1b5 100644 (file)
@@ -62,17 +62,21 @@ define backupninja::duplicity( $order  = 90,
                                             "/home/*/.gnupg",
                                             "/home/*/.gpg",
                                             "/home/*/.ssh",
-                                            "/home/*/gtk-gnutella-downloads"],
+                                            "/home/*/gtk-gnutella-downloads",
+                                            "/etc/ssh/*" ],
                                $vsinclude = false,
                                # [dest]
                                $incremental   = "yes",
                                $keep          = 60,
-                               $bandwithlimit = "128",
+                               $bandwithlimit = "0",
                                $sshoptions    = false,
                                $destdir       = "/backups",
                                $desthost      = false,
                                $destuser      = false,
-                               # options to backupninja's module sandbox
+                               # configs to backupninja client
+                               $backupkeystore       = false,
+                               $backupkeytype        = false,
+                               # options to backupninja server sandbox
                                $ssh_dir_manage       = true,
                                $ssh_dir              = false,
                                $authorized_keys_file = false,
@@ -94,6 +98,7 @@ define backupninja::duplicity( $order  = 90,
     authorized_keys_file => $authorized_keys_file,
     installuser          => $installuser,
     backuptag            => $backuptag,
+    backupkeys           => $backupkeystore,
   }
   
   # the client's ssh key