how to list all classes deployed/running on a puppet agent?

168 views
Skip to first unread message

Robert Chen

unread,
Apr 16, 2015, 1:50:08 PM4/16/15
to puppet...@googlegroups.com
how to list all classes deployed/running on a puppet agent? 

how to get all running puppet agent/IP addresses managed by the master? ( the puppet cert list --all list all certs which does not mean an agent is running).

Martin Alfke

unread,
Apr 16, 2015, 2:05:39 PM4/16/15
to puppet...@googlegroups.com

On 16 Apr 2015, at 19:50, Robert Chen <robert...@gmail.com> wrote:

> how to list all classes deployed/running on a puppet agent?
>
> how to get all running puppet agent/IP addresses managed by the master? ( the puppet cert list --all list all certs which does not mean an agent is running).

you want to enable reporting on the agent and store the reports on the master.
you can either store reports as files on disk or use puppetdb and then query the rest api.
https://docs.puppetlabs.com/guides/reporting.html

hth,
Martin
Reply all
Reply to author
Forward
0 new messages