]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
Adding backupkeytype parameter at backupninja::rdiff
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Aug 2009 01:29:24 +0000 (22:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Aug 2009 01:29:24 +0000 (22:29 -0300)
manifests/rdiff.pp

index b1dd7d259ca807fb2d503c7745e7dca56f82306e..a8956f32f3415ff38cfdf869cf9becac1e888179 100644 (file)
@@ -25,7 +25,7 @@ define backupninja::rdiff(
                "/home", "/usr/local/*bin", "/var/lib/dpkg/status*" ],
   $vsinclude = false, $keep = 30, $sshoptions = false, $options = false, $ssh_dir_manage = true,
   $ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true,
-  $backuptag = false, $home = false)
+  $backuptag = false, $home = false, $backupkeytype = false)
 {
   include backupninja::client
   case $type {
@@ -42,7 +42,7 @@ define backupninja::rdiff(
         "${user}-${name}": user => $user, host => $host, dir => $real_home,
         manage_ssh_dir => $ssh_dir_manage, ssh_dir => $ssh_dir,
         authorized_keys_file => $authorized_keys_file, installuser => $installuser,
-        backuptag => $backuptag
+        backuptag => $backuptag, keytype => $backupkeytype,
       }
       
       backupninja::client::key