]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
add extras flag to add arbitrary options to rdiff configuration
authorAntoine Beaupre <anarcat@koumbit.org>
Tue, 16 Jun 2009 14:52:14 +0000 (10:52 -0400)
committerAntoine Beaupre <anarcat@koumbit.org>
Tue, 16 Jun 2009 14:52:14 +0000 (10:52 -0400)
manifests/rdiff.pp
templates/rdiff.conf.erb

index e3e429bb7d21797b8ab2182b95b0ae634a235002..8e0e7696d31087b3f080bbfb19cde3e59760b87d 100644 (file)
@@ -25,7 +25,7 @@ define backupninja::rdiff(
                "/home", "/usr/local/*bin", "/var/lib/dpkg/status*" ],
   $vsinclude = false, $keep = 30, $sshoptions = false, $options = '--force', $ssh_dir_manage = true,
   $ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true, $key = false,
-  $backuptag = false)
+  $backuptag = false, $extras = false)
 {
   $real_backuptag = $backuptag ? {
       false => "backupninja-$host",
index 0e19125da95df5edac1007259886d5a944dc7dc7..99bda4e4d3de2944ed503a2cbc6161965cc22b6a 100644 (file)
@@ -5,6 +5,8 @@
 
 <%= 'options = ' + options if options %>
 
+<%= extras if extras %>
+
 [source]
 type = local
 <%= 'keep = ' + keep if keep %>