Commit 8aa207e6 authored by Micah Anderson's avatar Micah Anderson

Change to the new format required in templates now that scope is no longer...

Change to the new format required in templates now that scope is no longer availble in templates since
0.24.6:
http://projects.reductivelabs.com/issues/show/1177
parent 61be641d
......@@ -29,7 +29,7 @@ type = local
[dest]
<% %w{type host directory user sshoptions}.each do |v|
if @scope.lookupvar(v)
-%><%= v + ' = ' + @scope.lookupvar(v) + "\n" %><%
if has_variable?(v)
-%><%= v + ' = ' + get_instance_var("@#{v}") + "\n" %><%
end
end -%>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment