Re: [Puppet Users] What do YOU do to catch undefined variables

Larry Fast
Fri, 03 May 2013 15:16:23 -0000

On Friday, May 3, 2013 2:12:41 AM UTC-7, David Schmitt
wrote:
>
> 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