Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-22 Thread Ohad Levy
On Mon, Jul 16, 2012 at 2:57 PM, Kamil Winczek ka...@winczek.com wrote: On 12 Jul 12 08:54 -0700, 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

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-16 Thread Kamil Winczek
On 12 Jul 12 08:54 -0700, 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. Hi, How

[Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread llow...@oreillyauto.com
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

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Ryan Coleman
One way to approach this (for documentation) is to build a file resource backed by a template. The template would contain something like the following. It prints out all the classes defined in that agents catalog. % classes.each do |klass| -% The class %= klass % is defined % end -% This example

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Ryan Coleman
Crap, I forgot to mention my source: http://docs.puppetlabs.com/guides/templating.html#access-to-defined-tags-and-classes On Thu, Jul 12, 2012 at 1:08 PM, Ryan Coleman r...@puppetlabs.com wrote: One way to approach this (for documentation) is to build a file resource backed by a template. The

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread llow...@oreillyauto.com
Comments inline. On Thursday, July 12, 2012 3:08:10 PM UTC-5, Ryan Coleman wrote: One way to approach this (for documentation) is to build a file resource backed by a template. The template would contain something like the following. It prints out all the classes defined in that agents

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Nigel Kersten
On Thu, Jul 12, 2012 at 8:54 AM, llow...@oreillyauto.com llow...@oreillyauto.com wrote: Is there a way to get a list of all the classes available from the puppet master? We've actually addressed this more directly in the upcoming Telly branch, where we've extended the resource_type REST API to

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread R.I.Pienaar
- Original Message - From: Ryan Coleman r...@puppetlabs.com To: puppet-users@googlegroups.com Sent: Thursday, July 12, 2012 9:08:55 PM Subject: Re: [Puppet Users] How can I list classes available on the puppet master? Crap, I forgot to mention my source: http

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Dan White
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

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Walter Heck
- From: Ryan Coleman r...@puppetlabs.com To: puppet-users@googlegroups.com Sent: Thursday, July 12, 2012 9:08:55 PM Subject: Re: [Puppet Users] How can I list classes available on the puppet master? Crap, I forgot to mention my source: http://docs.puppetlabs.com/guides

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread llow...@oreillyauto.com
Comments inline On Thursday, July 12, 2012 3:29:27 PM UTC-5, Ygor wrote: 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

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread R.I.Pienaar
can I list classes available on the puppet master? Comments inline On Thursday, July 12, 2012 3:29:27 PM UTC-5, Ygor wrote: http://docs.puppetlabs.com/man/doc.html I use a command like this: puppet doc --outputdir yadda...yadda/apache/htdocs/puppetmaster --mode rdoc --manifestdir