Title: Message Title
Henrik Lindberg commented on an issue
Puppet / New Feature PUP-2837
alter parser to throw an error on use of an undefined, unquoted, variable.
Currently, the parser treats the following cases as equivalent:

<pre>

file {"/tmp/testfile":
    content => $content
}

file {"/tmp/testfile":
    content => "$content"
}

</pre>

I think it would be beneficial to throw a compile error in the first case if $content is not defined, eg fail('Attempt to use unquoted, undefined variable $conte...

--
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 [email protected].
To post to this group, send email to [email protected].
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