diff options
Diffstat (limited to 'templates/sys.conf.erb')
-rw-r--r-- | templates/sys.conf.erb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/sys.conf.erb b/templates/sys.conf.erb index a684e8b..84297d3 100644 --- a/templates/sys.conf.erb +++ b/templates/sys.conf.erb @@ -3,16 +3,16 @@ # the next time Puppet runs. Please make configuration changes to this # service in Puppet. -<% %w{parentdir packagesfile partitionsfile hardwarefile}.each do |v| +<% %w{@parentdir @packagesfile @partitionsfile @hardwarefile}.each do |v| if send(v) -%><%= v + ' = ' + send(v) + "\n" %><% end end -%> -packages = <%= packages ? 'yes' : 'no' %> -partitions = <%= partitions ? 'yes' : 'no' %> -dosfdisk = <%= dosfdisk ? 'yes' : 'no' %> -hardware = <%= hardware ? 'yes' : 'no' %> -dohwinfo = <%= dohwinfo ? 'yes' : 'no' %> -luksheaders = <%= doluks ? 'yes' : 'no' %> -lvm = <%= dolvm ? 'yes' : 'no' %> +packages = <%= @packages ? 'yes' : 'no' %> +partitions = <%= @partitions ? 'yes' : 'no' %> +dosfdisk = <%= @dosfdisk ? 'yes' : 'no' %> +hardware = <%= @hardware ? 'yes' : 'no' %> +dohwinfo = <%= @dohwinfo ? 'yes' : 'no' %> +luksheaders = <%= @doluks ? 'yes' : 'no' %> +lvm = <%= @dolvm ? 'yes' : 'no' %> |