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 make this
simpler:

https://projects.puppetlabs.com/issues/14137

You'll be able to directly ask the question via an API of "what
classes exist in this environment?"

Note you can do this already prior to Telly, but you need to do
filtering yourself on the returned output to just grab class
information.




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



-- 
Nigel Kersten | http://puppetlabs.com | @nigelkersten
Schedule Meetings at: http://tungle.me/nigelkersten

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