Title: Message Title
Henrik Lindberg commented on an issue
Puppet / New Feature PUP-1540
Puppet should support compilation failure if a variable is undefined
Currently, if a variable is undefined in puppet code, compilation succeeds, and the value is undef. E.g.
{noformat}
notify { $foo: }
{noformat}

results in

{noformat}
Notice: /Stage[main]//Notify[undef]/message: defined 'message' as 'undef'
{noformat}

Similarly, if you try to use an undefined variable inside a template, in interpolates to an ...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to