Issue #15923 has been updated by Morten Kallesøe.
Hi Eric It was a test build scenario. I was expecting this to work when i run "puppet agent --test" from puppetclient1-test, but it dosnt. it comes with the error i gave in the description. It is complaining about being declared two places, but the node takes everything from class ::role::viewer, which is only including the class ::tomcat It looks to me that ::role::viewer is both trying to include ::role::tomcat and ::tomcat. and thats really not what i expected. ---------------------------------------- Bug #15923: Autoloader is loading classes it shouldnt. https://projects.puppetlabs.com/issues/15923#change-69543 Author: Morten Kallesøe Status: Needs More Information Priority: Normal Assignee: Morten Kallesøe Category: Target version: Affected Puppet version: 2.7.17 Keywords: autoloader classes inheritance Branch: Config: http://pastie.org/4465635 Client error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[Tomcat] is already declared in file /home/mka/puppet.mka/modules/role/manifests/viewer.pp at line 2; cannot redeclare at /home/mka/puppet.mka/modules/role/manifests/tomcat.pp:2 on node puppetclient1-test -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
