From: Micah Anderson Date: Mon, 1 Feb 2010 19:26:18 +0000 (-0500) Subject: add doluks and dolvm parameters to the sys handlers X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=21957200baceeaae262de5eee9e125c80c9d64fa;p=puppet-backupninja.git add doluks and dolvm parameters to the sys handlers --- diff --git a/manifests/sys.pp b/manifests/sys.pp index 973f880..f22fee2 100644 --- a/manifests/sys.pp +++ b/manifests/sys.pp @@ -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": diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb index b0ae623..a684e8b 100644 --- a/templates/sys.conf.erb +++ b/templates/sys.conf.erb @@ -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' %>