Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-2824
Make $title and $name Reserved Words
If one creates a class with {{$name}} or {{$title}} in it and assigns them default values, if a user later tries to instantiate this class using the default values, Puppet will generate an error.

Consider the following:
The setup:
{code}
# manifests/init.pp
class pup514 {
  define bark(String $name = 'No Name', Integer $phone = 0) {
    notice "N...

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