![mco puppet 配置问题](https://linux22.com/image/684858/mco%20puppet%20%E9%85%8D%E7%BD%AE%E9%97%AE%E9%A2%98.png)
mcollective
我在配置时遇到一些puppet
# mco puppet runonce
The Marionette Collective version 2.8.8
Unknown command 'puppet', searched for applications in:
/usr/libexec/mcollective
/usr/share/mcollective/plugins
/opt/puppetlabs/mcollective/plugins
/opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/stomp-1.3.3/lib
/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0
/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0/x86_64-linux
/opt/puppetlabs/puppet/lib/ruby/site_ruby
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby
/opt/puppetlabs/puppet/lib/ruby/2.1.0
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/vendor/systemu/lib
显示Puppet command not found
。mco ping
运行正常
请建议
答案1
安装以下软件包后可解决此问题
sudo yum install mcollective-puppet-agent
sudo yum install mcollective-service-agent
sudo yum install mcollective-puppet-client
/opt/puppetlabs/bin/mco puppet help
The puppet application failed to run, use -v for full error backtrace
details: Action must be count, enable, disable, resource, runall,
runonce, status or summary