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}' {} \;

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

Reply via email to