The mcollective-puppet-agent module assumes Puppet is in PATH. That may be an issue, you can configure the full path in the mcollective setting `plugin.puppet.command`. The default value for `plugin.puppet.config` may also be incorrect (it hasn't specifically been updated for Puppet 4, this is one of the things R.I.'s modules handle). Take a look at https://github.com/puppetlabs/mcollective-puppet-agent#configuring-the-agent specifically.
On Mon, Aug 15, 2016 at 9:58 AM, R.I.Pienaar <r...@devco.net> wrote: > You need to also install the mcollective puppet agent as per here > https://github.com/puppetlabs/mcollective-puppet-agent > > As you're on puppet 4 you might want to try https://github.com/ripienaar/ > mcollective-choria/wiki which sets > everything up for you and uses a less resource intensive middleware. > Though as of yet no windows support in > that setup > > ----- Original Message ----- > > From: "孙远伟" <syuanwei0...@gmail.com> > > To: "mcollective-users" <mcollective-users@googlegroups.com> > > Sent: Monday, 15 August, 2016 03:59:12 > > Subject: [mcollective-users] Exec "mco puppet runonce" the agent > can't work > > > HI,all: > > > > Today, I install the puppet+mcollectvie and the version like this: > > > > mcollective-puppet-common-1.11.1-1.el7.noarch > > > > puppet-agent-oauth-0.5.1-1.el7.noarch > > > > mcollective-puppet-agent-1.11.1-1.el7.noarch > > > > puppetserver-2.5.0-1.el7.noarch > > > > mcollective-puppet-client-1.11.1-1.el7.noarch > > > > puppetlabs-release-pc1-1.0.0-2.el7.noarch > > > > puppet-agent-1.6.0-1.el7.x86_64 > > > > then I config the mcollective and it work OK, like this: > > > > [root@kvm ~]# mco ping kvm.test.com > > > > time=8.60 ms > > > > ---- ping statistics ---- 1 replies max: 8.60 min: 8.60 avg: 8.60 > > > > [root@kvm ~]# mco inventorykvm.test.com > > > > Inventory for kvm.test.com: > > > > Server Statistics: Version: 2.9.0 Start Time: 2016-08-14 19:36:02 +0800 > > Config File: /etc/puppetlabs/mcollective/server.cfg Collectives: > > mcollective Main Collective: mcollective Process ID: 10618 Total > Messages: > > 5 Messages Passed Filters: 5 Messages Filtered: 0 Expired Messages: 0 > > Replies Sent: 4 Total Processor Time: 1.59 seconds System Time: 0.22 > seconds > > > > Agents: discovery filemgr nrpe > > package puppet rpcutil > > service shell > > > > Data Plugins: agent collective fact > > fstat nrpe puppet > > resource service sysctl > > > > Configuration Management Classes: No classes applied > > > > Facts: mcollective => 1 > > > > then i exec "systemctl stop puppet" and "systemctl disable puppet" when > is > > exec "mco puppet runonce -v", the agent can't apply the rules。when i exec > > "puppet agent --test" ,the agent work ok and Apply the create rules ,Who > > can help me,Thanks. > > > > -- > > > > --- > > You received this message because you are subscribed to the Google Groups > > "mcollective-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email > > to mcollective-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "mcollective-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mcollective-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "mcollective-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mcollective-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.