Ask Your Question

Show all agents

asked 2016-01-06 06:23:03 -0600

nobody gravatar image

updated 2016-01-06 06:24:18 -0600

Hi there! How can i see all agents and his version (and other info) on master?

Some server info:

    [root@her code]# uname -a
    Linux her 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    [root@her code]# cat /etc/centos-release
    CentOS Linux release 7.2.1511 (Core)

    [root@her code]# puppet master --version
    [root@her code]# rpm -qa | grep pupp

    [root@her code]# puppet module list
    +-- puppetlabs-apt (v2.2.1)
    +-- puppetlabs-concat (v1.2.5)
    +-- puppetlabs-firewall (v1.7.2)
    +-- puppetlabs-inifile (v1.4.3)
    +-- puppetlabs-postgresql (v4.6.1)
    +-- puppetlabs-puppetdb (v5.0.0)
    L-- puppetlabs-stdlib (v4.10.0)
    /etc/puppetlabs/code/modules (no modules installed)
    /opt/puppetlabs/puppet/modules (no modules installed)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-06 08:21:10 -0600

not sure if I'm understanding the question - are you asking what clients there are? if so

puppet cert list --all

will give a list of all clients that have been configured to use the master

puppet agent --version will show the puppet agent version on a host..

edit flag offensive delete link more


No, i want show on _master_ puppet agent --version for _all_ clients who connect to the this master, and other info for all clients. It's possible?

nobody gravatar imagenobody ( 2016-01-06 08:28:48 -0600 )edit

Example: I have 1 master and 500 clients who sometimes connect to this master (puppet agent --debug --no-daemonize --onetime) and i want know version all of it (clients). How i can do it? Go to every client and type puppet agent --version?

nobody gravatar imagenobody ( 2016-01-06 08:32:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-01-06 06:23:03 -0600

Seen: 273 times

Last updated: Jan 06 '16