windowsrefund
2011-Mar-15 21:14 UTC
[Puppet Users] How to ignore/skip node definitions with puppetdoc?
I''ve got thousands of node definitions under manifests/nodes and don''t see any way to avoid documenting them when calling puppetdoc. Am I missing something? puppetdoc --all -m rdoc --modulepath modules --manifestdir manifests manifests/site.pp I''ve tried commenting out the lines in site.pp that import the node definitions but puppetdoc appears to find them regardless. Running 0.25.5 here and have looked at the newer version in 2.6.6 but I still don''t see the feature I''m looking for. Thanks in advance for any leads -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Brice Figureau
2011-Mar-15 21:36 UTC
Re: [Puppet Users] How to ignore/skip node definitions with puppetdoc?
On 15/03/11 22:14, windowsrefund wrote:> I''ve got thousands of node definitions under manifests/nodes and don''t > see any way to avoid documenting them when calling puppetdoc. Am I > missing something?To my knowledge it''s not possible directly.> puppetdoc --all -m rdoc --modulepath modules --manifestdir manifests > manifests/site.pp > > I''ve tried commenting out the lines in site.pp that import the node > definitions but puppetdoc appears to find them regardless.If you don''t care about the manifests that are in "manifests", you can try: puppetdoc --all -m rdoc --modulepath modules --manifestdir /path/to/emptydir The idea is that puppetdoc will parse only the modules. HTH, -- Brice Figureau My Blog: http://www.masterzen.fr/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
windowsrefund
2011-Mar-16 14:06 UTC
[Puppet Users] Re: How to ignore/skip node definitions with puppetdoc?
> > If you don''t care about the manifests that are in "manifests", you can try: > > puppetdoc --all -m rdoc --modulepath modules --manifestdir /path/to/emptydir > > The idea is that puppetdoc will parse only the modules. >Thanks Brice. That gets me closer to where I want to be. Best, Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
windowsrefund
2011-Mar-16 19:02 UTC
[Puppet Users] Re: How to ignore/skip node definitions with puppetdoc?
Just a heads up that the work-around discussed at the bottom of this link no longer appears to work in 2.6.6 http://groups.google.com/group/puppet-users/browse_thread/thread/b11d412e773e581b Best, Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.