On 3 May 2013 06:43, Larry Fast <[email protected]> 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. >
I use vim with vim-puppet (and a bunch of other vim plugins). It does syntax highlighting and does syntax and a few other check on saving a file and lets you know if something is amiss. I tried Gepetto but I can't us that over an ssh connection to a server if I need to. -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
