Issue #1755 has been updated by luke. Status changed from Unreviewed to Accepted Assigned to set to luke Target version set to 0.24.7 Complexity changed from Unknown to Easy
This is two straightforward fixes: Update the 'class' token to allow prefixing with '::' (so we don't have to quote the class names) and teach the 'include' method how to find these prefixed class names. ---------------------------------------- Bug #1755: puppet fails to address classes in another (top-level) namespace http://projects.reductivelabs.com/issues/show/1755 Author: immerda Status: Accepted Priority: Normal Assigned to: luke Category: Target version: 0.24.7 Complexity: Easy Affected version: 0.24.6 Keywords: As discussed with luke the following code snippet should work: <pre> class php { fail("php") } class apache::foobar::php { notice("yeah2") include '::php' } class apache::foobar::webhosting_php { include apache::foobar::php } class somehost { include apache::foobar::webhosting_php } include somehost notice("yeah") </pre> however it doesn't load the class php from the different namespace. it still tries to include itself. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
