On 02.05.2013 22:43, Larry Fast wrote:
I'm still a puppet newbie and these days I'm struggling with undefined
variables.  At least once a week I hit an error message like this:
        Error: Failed to apply catalog: '' is not qualified and no path
was specified. Please qualify the command or specify a path.

IMO, the core issue is that Puppet has no mechanism for reporting read
attempts on undefined variables.  So my question to the community is,
what do YOU do to catch undefined variables?  If anyone has a first
class solution I'd love to hear it.  But I'm also happy to consider ANY
means to detect undefined variables. I may resort to explicitly listing
all my variables and checking them with a custom ruby function.

Hmm, I'm using geppetto (the puppet eclipse integration from cloudsmith) which catches typos as they happen.

I'm very satisfied with it and undefined variables ain't one of my problems ;-)


Regards, David


--
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