From: Silvio Rhatto Date: Tue, 22 Jan 2013 14:24:49 +0000 (-0200) Subject: Fixing handling for include and exclude parameters as arrays at rsync template (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b4657888b560aed7885d2a9248bdb00604976257;p=puppet-backupninja.git Fixing handling for include and exclude parameters as arrays at rsync template (2) --- diff --git a/templates/rsync.conf.erb b/templates/rsync.conf.erb index 163ffc3..778676f 100644 --- a/templates/rsync.conf.erb +++ b/templates/rsync.conf.erb @@ -20,6 +20,7 @@ from = <%= from %> instance_variable_get("@#{v}").to_a.each do |parameter| -%> <%= v + ' = ' + parameter %> <%- + end end end -%>