From d5f3dbe0a5ff87a619bec9a99c0618f90f781659 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 20 Oct 2015 14:14:08 -0200 Subject: Fix variable deprecations on templates --- templates/maildir.conf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/maildir.conf.erb') diff --git a/templates/maildir.conf.erb b/templates/maildir.conf.erb index 351f382..7f454a3 100644 --- a/templates/maildir.conf.erb +++ b/templates/maildir.conf.erb @@ -3,12 +3,12 @@ # the next time Puppet runs. Please make configuration changes to this # service in Puppet. -<% %w{when srcdir destdir desthost destuser destid_file keepdaily keepweekly keepmonthly}.each do |v| +<% %w{@when @srcdir @destdir @desthost @destuser @destid_file @keepdaily @keepweekly @keepmonthly}.each do |v| if send(v) -%><%= v + ' = ' + send(v) + "\n" %><% end end -%> -remove = <%= remove ? 'yes' : 'no' %> -multiconnection = <%= multiconnection ? 'yes' : 'no' %> +remove = <%= @remove ? 'yes' : 'no' %> +multiconnection = <%= @multiconnection ? 'yes' : 'no' %> -- cgit v1.2.3