On Nov 4, 2008, at 10:54 AM, Brice Figureau wrote: > > Right, of course :-) > > My problem is: > Let's say I have: > > /etc/puppet/modules/module1 > /etc/puppet/modules/module2 > > and some global manifests > /etc/puppet/manifests/site.pp > ... > > and some other global manifests > /tmp/manifests/site.pp > > > If I run: > puppetdoc /etc/puppet > > It will scan both the modules and the global manifests, but have no > way > to understand that module1 and module2 are modules. > > If I run: > puppetdoc --modulepath /etc/puppet/modules /etc/puppet > > Puppetdoc now knows that module1 and module2 are modules. > > And finally, if I run: > puppetdoc --modulepath /etc/puppet/modules /tmp/manifests > > Then it will scan /tmp/manifests/site.pp which is OK, but should it > scan /etc/puppet/modules?
Urgh, I would just have the software throw up all over someone who did that. Manifest paths and module paths shouldn't overlap, and if they happen to, I definitely would skip any module paths when scanning for normal manifests. -- Neonle will continue to be rude, and will nretend that you had a small stroke which makes you unable to say or see the letter "n". Stunid nractical joke, if you ask me. Bunch of noon-heads, huh? -- Fred Barling, Humorscope --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---