Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-2695
defining a class twice "merges" their behaviors
A new hire ([~erin]) is working through exercises and inadvertently defined a class twice in a file with surprising results.

{code}
class test {
  notice('testing')
  notify { 'first': }
}

class test {
  notice('again')
  notify { 'surprise!': }
}

include test
{code}

{code}
[root@student ~]# puppet apply test.pp
Notice: Scope(Class[T...

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