aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-04-14 14:27:36 -0400
committerMicah Anderson <micah@riseup.net>2010-04-14 14:27:36 -0400
commite7d7ccccb32405b7f1d33b3580be8d884732f16e (patch)
tree05403bf1353d6accd8f7404437c5476dafe29490
parente204bd1d6296946314b640ad556e58b0612826ca (diff)
downloadpuppet-backupninja-e7d7ccccb32405b7f1d33b3580be8d884732f16e.tar.gz
puppet-backupninja-e7d7ccccb32405b7f1d33b3580be8d884732f16e.tar.bz2
Reverting "the lvm and luks sys template should default to 'no' for both of these options. turning them on by default means that you get warnings/errors for systems that do not have either of these. you should opt-in, not opt-out"
I misunderstood the ternary operator here
-rw-r--r--templates/sys.conf.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb
index d15f821..a684e8b 100644
--- a/templates/sys.conf.erb
+++ b/templates/sys.conf.erb
@@ -14,5 +14,5 @@ partitions = <%= partitions ? 'yes' : 'no' %>
dosfdisk = <%= dosfdisk ? 'yes' : 'no' %>
hardware = <%= hardware ? 'yes' : 'no' %>
dohwinfo = <%= dohwinfo ? 'yes' : 'no' %>
-luksheaders = <%= doluks ? 'no' : 'yes' %>
-lvm = <%= dolvm ? 'no' : 'yes' %>
+luksheaders = <%= doluks ? 'yes' : 'no' %>
+lvm = <%= dolvm ? 'yes' : 'no' %>