]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
switch to the correct method name
authorMicah Anderson <micah@riseup.net>
Sun, 7 Dec 2008 16:58:36 +0000 (11:58 -0500)
committerMicah Anderson <micah@riseup.net>
Sun, 7 Dec 2008 16:58:36 +0000 (11:58 -0500)
templates/rdiff.conf.erb

index 5e319a2c5c741cf00b7936f0217a6a5773c4f015..7fbfe73b532fdd3a840d1d8676c65566ee82dc87 100644 (file)
@@ -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 -%>