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

2013-07-08 Thread Wil Cooley
On May 2, 2013 1:45 PM, Larry Fast lfast1...@gmail.com wrote: 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

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

2013-07-07 Thread Jakov Sosic
On 05/10/2013 10:43 PM, 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

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

2013-05-13 Thread Pete Brown
On 11 May 2013 06:43, David Schmitt da...@dasz.at 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

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

2013-05-13 Thread Nikola Petrov
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

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

2013-05-10 Thread Nikola Petrov
+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

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

2013-05-10 Thread David Schmitt
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

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

2013-05-06 Thread Peter Brown
On 3 May 2013 06:43, Larry Fast lfast1...@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

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

2013-05-03 Thread David Schmitt
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

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

2013-05-03 Thread Larry Fast
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

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

2013-05-03 Thread Larry Fast
...finger slipped... Thanks David, I started using geppetto as well. Yes, my error count has dropped significantly. The other thing I discovered is that hiera(name) produces a very clear error if the name doesn't exist. So I moving toward that as well. Cheers larry -- You received this

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

2013-05-02 Thread Larry Fast
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