Issue #1841 has been updated by luke. Status changed from Accepted to Rejected
Your 'sge::exechost' class exists both qualified (ikw::sge::exechost) and at the root. Puppet's constant lookup finds the qualified version, because you're including from within 'ikw'. If you want the unqualified one, prefix with '::', as in 'include ::sge::exechost'. This wasn't valid syntax until 0.24.6 or .7, I don't remember. ---------------------------------------- Bug #1841: similar class names are not evaluated. http://projects.reductivelabs.com/issues/show/1841 Author: do Status: Rejected Priority: Urgent Assigned to: luke Category: Target version: Complexity: Unknown Affected version: 0.24.5 Keywords: I have a situation where 2 classes have pretty similar names: @class ikw::sge::exechost { include sge::submithost include sge::exechost include sge::munin-grapher include ikw::sge::exechost::common }@ where @ikw::sge::exechost@ is the class that is used by all nodes. @sge::*@ classes are within the sge module. All classes except @sge::exechost@ are evaluated. Renaming @sge::exechost@ to @sge_exechost@ helps. Also, renaming @ikw::sge::exechost@ to @ikwsge::exechost@ helps. puppetmasterd is 0.24.5-2 (Debian etch) puppetd are 0.24.4 (Ubuntu Hardy desktop/server), 0.24.5-2 (Debian Etch), 0.24.5 (Darwin, 10.5.[56], Darwin 10.4 Server) ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
