diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 14:14:08 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-20 14:14:08 -0200 |
commit | d5f3dbe0a5ff87a619bec9a99c0618f90f781659 (patch) | |
tree | dd26fb7bda6655859cb176eb23f3695ba3e54d66 /templates/sys.conf.erb | |
parent | fc98b0dbd9d9b0982338a4f4d017594ec48511a1 (diff) | |
download | puppet-backupninja-d5f3dbe0a5ff87a619bec9a99c0618f90f781659.tar.gz puppet-backupninja-d5f3dbe0a5ff87a619bec9a99c0618f90f781659.tar.bz2 |
Fix variable deprecations on templates
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' %> |