From: Micah Anderson Date: Sun, 7 Dec 2008 16:58:36 +0000 (-0500) Subject: switch to the correct method name X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=756ed8c5c53132e972e005c7990ec78c4f40caea;p=puppet-backupninja.git switch to the correct method name --- diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb index 5e319a2..7fbfe73 100644 --- a/templates/rdiff.conf.erb +++ b/templates/rdiff.conf.erb @@ -30,6 +30,6 @@ type = local [dest] <% %w{type host directory user sshoptions}.each do |v| if has_variable?(v) - -%><%= v + ' = ' + get_instance_var("@#{v}") + "\n" %><% + -%><%= v + ' = ' + instance_variable_get("@#{v}") + "\n" %><% end end -%>