]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
add doluks and dolvm parameters to the sys handlers
authorMicah Anderson <micah@riseup.net>
Mon, 1 Feb 2010 19:26:18 +0000 (14:26 -0500)
committerMicah Anderson <micah@riseup.net>
Mon, 1 Feb 2010 19:26:18 +0000 (14:26 -0500)
manifests/sys.pp
templates/sys.conf.erb

index 973f88072e7fd10f7771e1b45c3ae0da20a9d788..f22fee2cf45079b43fac1b026bb862f9e4cbb170 100644 (file)
@@ -21,6 +21,8 @@ define backupninja::sys($order = 30,
                            $hardware = yes,
                            $hardwarefile = '/var/backups/hardware.txt',
                            $dohwinfo = yes
+                           $doluks = no
+                           $dolvm = no
                           ) {
                           include backupninja::client::defaults
        file { "${backupninja::client::defaults::configdir}/${order}_${name}.sys":
index b0ae623e3204f5e0a75496460666d5a68b1aecf5..a684e8b7f675dbfe8c04f6d612b1619530cbce92 100644 (file)
@@ -14,3 +14,5 @@ partitions = <%= partitions ? 'yes' : 'no' %>
 dosfdisk = <%= dosfdisk ? 'yes' : 'no' %>
 hardware = <%= hardware ? 'yes' : 'no' %>
 dohwinfo = <%= dohwinfo ? 'yes' : 'no' %>
+luksheaders = <%= doluks ? 'yes' : 'no' %>
+lvm = <%= dolvm ? 'yes' : 'no' %>