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

Nikola Petrov
Mon, 13 May 2013 14:07:32 -0000

I/We currently have 32 modules - some of these are of course third party
so they don''t count.

One of the modules is for our biggest project which consists of
different components and their configuration based on different
environment setups.  That module currently contains 36 *.pp files.

If you think vim can''t scale I can assure you that it can. Lately
I''ve
been using https://github.com/santana/puppet-cleaner to clean my pp
files and while it is still possible with eclipse to do the same it
feels so unnatural.

Maybe eclipse can give many more features like variable checking in the
current scope but I found that you also pay a price for that
integration. There is no free lunch.

--
Nikola

On Fri, May 10, 2013 at 10:43:43PM +0200, David Schmitt
wrote:
> On 10.05.2013 17:08, Nikola Petrov wrote:
> >+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)
> >
>
> Please satisfy my curiosity: how many puppet modules and/or .pp
> files do you currently have?
>
>
> 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+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.