you are right, someone filled a bug ticket one month ago: http://projects.puppetlabs.com/issues/22800
On Thursday, November 28, 2013 9:32:00 AM UTC+1, Felix.Frank wrote: > > 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/5b86b918-982f-40de-860b-9c5d060c76db%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.