Puppet

mco puppet 配置問題

  • June 17, 2016

我在配置時面臨一些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 foundmco ping工作正常

請建議

安裝以下軟體包後解決此問題

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

引用自:https://serverfault.com/questions/784533