Re: [Puppet Users] mcollective puppet plugin not working for centos

234 views
Skip to first unread message

R.I.Pienaar

unread,
Jan 17, 2013, 10:09:34 AM1/17/13
to puppet...@googlegroups.com


----- Original Message -----
> From: "G M" <gripma...@gmail.com>
> To: puppet...@googlegroups.com
> Sent: Thursday, January 17, 2013 7:56:20 AM
> Subject: [Puppet Users] mcollective puppet plugin not working for centos
>
> I have a test setup like this:
>
> host
> =======
> *puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent and
> server
> *puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent
> *puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent
> *puppet-node3*: CentOS 6.3 running MCollective and puppet agent
>
> I installed the *mcollective-plugins-puppetd plugin* on all *3 Ubuntu
> hosts*and
> *mcollective-puppet-agent *on *CentOS*. I am using the *puppetlabs repo*for
> all four hosts.
>
> Now when I execute the following from *puppet-idc* host, *puppet-node3 does
> not get picked up*. Is there a separate package for the puppet plugin for
> CentOS or am I doing something wrong?
>
> root@puppet-idc:~# mco puppetd runonce -v
> Discovering hosts using the mc method for 2 second(s) .... 3
>
> * [ ============================================================> ] 3 / 3
>
>
> puppet-idc : OK
> {:output=>"Signalled daemonized puppet agent to run (process 2315)"}
>
> puppet-node2 : OK
> {:output=>"Signalled daemonized puppet agent to run (process 905)"}
>
> puppet-node1 : OK
> {:output=>"Signalled daemonized puppet agent to run (process 1028)"}


The mcollective-puppet-agent is not the same mcollective-plugins-puppetd, the
puppetd agent is an old one we are now retiring while the one you have on
your centos machine is the latest.

Install 'mcollective-puppet-agent' on your ubuntu machines as well, make sure
they have the puppetlabs apt repo enable. You'll install mcollective-puppet-client
on the machine where you want to run your 'mco' command from.

Usage help for the 'mco puppet' command can be found here: https://github.com/puppetlabs/mcollective-puppet-agent#readme

G M

unread,
Jan 18, 2013, 12:53:33 AM1/18/13
to puppet...@googlegroups.com
Thanks a lot ripienaar! I was completely lost. Everything works fine now,

root@puppet-idc:~# mco rpc puppet runonce -v
Discovering hosts using the mc method for 2 second(s) .... 4

 * [ ============================================================> ] 4 / 4


puppet-node3                            : OK
    {:summary=>"Signalled the running Puppet Daemon"}

puppet-idc                              : OK
    {:summary=>"Signalled the running Puppet Daemon"}

puppet-node2                            : OK
    {:summary=>"Signalled the running Puppet Daemon"}

puppet-node1                            : OK
    {:summary=>"Signalled the running Puppet Daemon"}



---- puppet#runonce call stats ----
           Nodes: 4 / 4
     Pass / Fail: 4 / 0
      Start Time: Fri Jan 18 15:19:08 +0930 2013
  Discovery Time: 2004.21ms
      Agent Time: 407.32ms
      Total Time: 2411.54ms



Reply all
Reply to author
Forward
0 new messages