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

Nikola Petrov
Fri, 10 May 2013 15:08:23 -0000

+1

The vim plugin is the best you can find if you are already proficient
in vim somewhat. I use it in conjuction with
https://github.com/SirVer/ultisnips and it can''t be better. I found the
eclipse too heavy for my needs(although I use it for java development
where it shines)

--
Nikola

On Tue, May 07, 2013 at 08:41:42AM +1000, Peter Brown
wrote:
> On 3 May 2013 06:43, Larry Fast <lfast1234@gmail.com> 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 puppet-users+unsubscribe@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.
>
> --
> 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+unsubscribe@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.