Ask Your Question
0

Show all agents

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

nobody gravatar image

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

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
    4.3.1
    [root@her code]# rpm -qa | grep pupp
    puppetlabs-release-pc1-1.0.0-1.el7.noarch
            puppet-agent-1.3.2-1.el7.x86_64
            puppetdb-3.2.2-1.el7.noarch
            puppetdb-termini-3.2.2-1.el7.noarch
            puppetserver-2.2.1-1.el7.noarch

    [root@her code]# puppet module list
    /etc/puppetlabs/code/environments/production/modules
    +-- 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
0

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

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

Comments

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

Stats

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

Seen: 132 times

Last updated: Jan 06 '16