aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-12-07 11:58:36 -0500
committerMicah Anderson <micah@riseup.net>2008-12-07 11:58:36 -0500
commit756ed8c5c53132e972e005c7990ec78c4f40caea (patch)
treec68e5ad2cc1973a9a88208dca9caeb34d91b3b87
parent4573647f6b6d477fd44191a252e4ee2fda1ae453 (diff)
downloadpuppet-backupninja-756ed8c5c53132e972e005c7990ec78c4f40caea.tar.gz
puppet-backupninja-756ed8c5c53132e972e005c7990ec78c4f40caea.tar.bz2
switch to the correct method name
-rw-r--r--templates/rdiff.conf.erb2
1 files changed, 1 insertions, 1 deletions
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 -%>