Hi,

that's interesting indeed. You may have stumbled upon a bug. You could
try and search http://projects.puppetlabs.com/issues/ for similar
reports. If there is none, feel free to open a new bug and supply your
example code.

If time allows, I'll look into it over the weekend.

Cheers,
Felix

On 11/27/2013 02:50 PM, David Portabella wrote:
> and according to http://docs.puppetlabs.com/guides/templating.html
> /All of the variables visible in the current scope are available as Ruby
> instance variables/
> but out of the scope variables should be accessed by scope.lookupvar.
> 
> so, why does the previous example works? why does file.txt get the
> 'hello' value?
> *var from file.txt.erb: hello*

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5296FF80.7010704%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to