Title: Message Title
Charlie Sharpsteen commented on an issue
Puppet / Bug PUP-3587
Passing undef as an argument to classes & defines overrides the default parameter value in the future parser.
This old ticket has resurfaced when the future parser is enabled:

https://projects.puppetlabs.com/issues/16221

{noformat}
# cat test.pp
define foobar ($param='Hello world') {
  notice($param)
}
foobar { 'test': param => undef }
{noformat}

In puppet 3.x:
{noformat}
# puppet apply test.pp
Notice: Scope(Foobar[test]): Hello...

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