Issue #8669 has been updated by James Turnbull.
Dustin - it's important to remember that this is documented elsewhere - what Nick means here is "how it's documented in the Learning Puppet" series and when in that series. ---------------------------------------- Bug #8669: document relative module includes https://projects.puppetlabs.com/issues/8669 Author: Dustin Mitchell Status: Needs Decision Priority: Normal Assignee: Nick Fagerlund Category: Target version: Affected Puppet version: 2.6.4 Keywords: Branch: Affected URL: This page http://docs.puppetlabs.com/learning/modules1.html should mention that 'include foo' in module bar will first look for foo::bar before looking for bar itself. As an example, this will succeed: <pre> modules/puppet/manifests/master.pp: class puppet::master { include master } modules/master/manifests/init.pp: class master { fail("hello") } And node "foo" { include puppet::master } </pre> where you would think from reading the docs that <tt>include master</tt> would find <tt>modules/master/manifests/init.pp</tt>, it actually finds <tt>modules/puppet/manifests/master.pp</tt> and the <tt>puppet::master</tt> class. This behavior is verified in 0.25.2 and (by jblaine) in 2.6.4. It's not so bad if you know to look for it! -- 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.
