http://docs.puppetlabs.com/man/doc.html

I use a command like this:

puppet doc --outputdir <yadda...yadda>/apache/htdocs/puppetmaster --mode rdoc 
--manifestdir /etc/puppet/manifests --modulepath /etc/puppet/modules

And I get a fantastic web-tree describing every class on my PuppetMaster

It does require you to document your code, but it is worth it IMNSHO :)

“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

----- llow...@oreillyauto.com wrote:
> Is there a way to get a list of all the classes available from the puppet 
> master?
> 
> I have 2 goals for this - one is documentation in a human readable form, 
> and the other is potentially importing that data into dashboard.
> 
> I did find some info on the rest API 
> (http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I 
> can't make any sense of the output from it.
> 
> Thanks.
> 
> Lee
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/puppet-users/-/wmJFsgZDA8sJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to