Issue #2523 has been updated by James Turnbull. Category set to language Status changed from Duplicate to Needs more information
So seph/Robin Does this solve the issue and close the case? I am aware the syntax is poorly documented so would adding this to various bits of documentation be a suitable fix? ---------------------------------------- Bug #2523: Classes with the same name are not included http://projects.reductivelabs.com/issues/2523 Author: Robin Bowes Status: Needs more information Priority: Normal Assigned to: Luke Kanies Category: language Target version: Complexity: Unknown Affected version: 0.25.0rc1 Keywords: Consider the following example (written by Volcane): <pre> class foo { notice("Inside foo!") } class bar::foo { include foo notice("inside bar::foo") } include bar::foo </pre> This produces the following output: <pre> notice: Scope(Class[bar::foo]): inside bar::foo </pre> ie. foo is not included. If class bar::foo is remaned to bar::foo2, it produces the correct output: <pre> notice: Scope(Class[foo]): Inside foo! notice: Scope(Class[bar::foo2]): inside bar::foo </pre> -- 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 -~----------~----~----~----~------~----~------~--~---
