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
> form,
> >   and the other is potentially importing that data into dashboard.
>
> Hi,
>
> How about simple:
>
> find . -name '*.pp' -exec awk '/^class [a-zA-Z]/ {print $2}' {} \;
>

You can also use foreman Proxy [1] to get that info for you :)

Ohad

[1] - http://theforeman.org/projects/smart-proxy/wiki

[1]


>
> ?
> --
> Kamil Winczek, Gentoo Linux user, post no: 1443
> GG:888677, M:kamil[at]winczek.com, JID:crs[at]jabster.pl
> For a list of all the ways technology has failed to improve
> the quality of life, please press three. - Alice Kahn
>
> --
> 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.
>
>

-- 
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