Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-2244
parse error on class parameters named default
It seems that under 2.7.x (or at least 2.7.25) it is valid to define a class in the DSL with a parameter named default but it is invalid to declare a class with a parameter of the same name. Eg.

$ be puppet --version
2.7.25
$ be puppet apply -e 'class foo($default = "foo") { notify{$default:} } class {foo:}'
notice: foo
notice: /Stage[main]/Foo/No...

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