Hi,
I've taken a look into the issue and it would appear that your root
problem is wrong template syntax. The below is not strictly valid:
On 11/27/2013 02:40 PM, David Portabella wrote:
> file.txt.erb
> var from file.txt.erb: <%= @var %>
What works as expected:
> var from file.txt.erb: <%= var %>
or
> var from file.txt.erb: <%= scope.lookupvar("var") %>
The fact that the member variable syntax @var works at all is confusing,
and may be considered a bug. Will update Redmine accordingly. I believe
that the support for such templates should be deprecated if possible.
Thanks,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/529B0A5E.7000202%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.