On 03/20/2013 08:09 AM, Francis Pereira wrote:
> Looks like this is related
> to https://projects.puppetlabs.com/issues/9901 I have changed 'daemonize
> <%= daemonize %>' to 'daemonize <%= @daemonize %>' and it seems to work. 
> 
> The variable daemonize seems to collide with Ruby method names as
> docuimented here http://docs.puppetlabs.com/guides/templating.html

Good find!

> Helpful error messages would be nice in these cases

Humm, difficult - the problem originates in the bowels of the erb engine
I presume. Calling a daemonize method is not even strictly illegal, so
there is likely no exception to catch and process. Perhaps it can be
made illegal. I'll take a look at that bug report some time.

Cheers,
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to