From: Silvio Rhatto Date: Sat, 19 Mar 2016 14:25:11 +0000 (-0300) Subject: Fix variable reference at rsync template X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=44dbd2a5018b98f0a52d22bf6bfbd711cf808daa;p=puppet-backupninja.git Fix variable reference at rsync template --- diff --git a/templates/rsync.conf.erb b/templates/rsync.conf.erb index 0a7173c..e563838 100644 --- a/templates/rsync.conf.erb +++ b/templates/rsync.conf.erb @@ -13,7 +13,7 @@ end -%> [source] <% unless @from.empty? and @from.to_s != "false" -%> -from = <%= f@rom %> +from = <%= @from %> <% end -%> <%- %w{include exclude}.each do |v| if has_variable?(v)