diff options
author | Micah Anderson <micah@riseup.net> | 2010-02-01 14:26:18 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-02-01 14:26:18 -0500 |
commit | 21957200baceeaae262de5eee9e125c80c9d64fa (patch) | |
tree | a96f64f7bd9d0953f706ff05a92131b4b95fc332 | |
parent | 292dd6b41adde8ca018e7c9b0d976420dc8905bc (diff) | |
download | puppet-backupninja-21957200baceeaae262de5eee9e125c80c9d64fa.tar.gz puppet-backupninja-21957200baceeaae262de5eee9e125c80c9d64fa.tar.bz2 |
add doluks and dolvm parameters to the sys handlers
-rw-r--r-- | manifests/sys.pp | 2 | ||||
-rw-r--r-- | templates/sys.conf.erb | 2 |
2 files changed, 4 insertions, 0 deletions
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' %> |