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

Wil Cooley
Mon, 08 Jul 2013 16:50:22 -0000

On May 2, 2013 1:45 PM, "Larry Fast" <lfast1234@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 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.
>

If you are comfortable with Ruby (or willing & able to learn it),
rspec-puppet should catch most or all of these.

Wil

--
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.