Issue #4408 has been updated by donavan m.
+1 for an optional 'strict' mode. I opened/closed 4987 with more details before seeing this. ---------------------------------------- Bug #4408: Undefined variable equal to empty http://projects.puppetlabs.com/issues/4408 Author: Stig Sandbeck Mathisen Status: Needs design decision Priority: Normal Assignee: Luke Kanies Category: language Target version: Affected version: 0.25.1 Keywords: Branch: This is an issue reported in the Debian Bug Tracker at [[http://bugs.debian.org/563550]]. Excerpt: <blockquote> The puppet manifest language uses empty variables the same way then undefined ones. Many languages, for example perl and sql, have shown in the past that this behaviour produces hard to find errors all over the code. Example: lsb* are undefined if lsb-release is missing. A definition using this needs to explicitely check for the lack of a value. It would be obvious if it bails out on the variable access. This is also different from the behaviour of the templating language, erb bails out on undefined variables. </blockquote> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
