diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-26 12:36:11 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-26 12:36:11 -0200 |
commit | fee18a9d990fc03c696c3dab17c5c111c7d1264f (patch) | |
tree | a319bce3da9393ca35bd24a4f61d643986e4ce1c /templates/rdiff.conf.erb | |
parent | 381cf73b5920c3f4271f009810288dfee961a7e7 (diff) | |
download | puppet-backupninja-fee18a9d990fc03c696c3dab17c5c111c7d1264f.tar.gz puppet-backupninja-fee18a9d990fc03c696c3dab17c5c111c7d1264f.tar.bz2 |
More variable deprecation rollbacks
Diffstat (limited to 'templates/rdiff.conf.erb')
-rw-r--r-- | templates/rdiff.conf.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb index ca812ba..9d6abea 100644 --- a/templates/rdiff.conf.erb +++ b/templates/rdiff.conf.erb @@ -30,7 +30,7 @@ type = local <% end -%> [dest] -<%- %w{@type @host @directory @user @sshoptions}.each do |v| +<%- %w{type host directory user sshoptions}.each do |v| if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%> <%= v + ' = ' + instance_variable_get("@#{v}").to_s %> <%- |