Nigel suggested I posted this here - he likes the idea.

I'm constantly getting bitten by small typos in my manifests, eg. when I
do something like:

$var1 = extlookup('foo')
$var2 = extlookup('foo')
# set $var3 true if $var1 is same as $var2
$var3 = ($var1 == $var)

puppet allows this, and sets $var3 to false since $var is not the same
as $var1

I'd really like puppet to blow-up at this stage and tell me that I've
used an variable without defining it first. Those familiar with perl
will recognise this as "use strict;".

Thoughts?

R.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to