Skip to content

Instantly share code, notes, and snippets.

@DBMoUK
Last active August 29, 2015 14:01
Show Gist options
  • Save DBMoUK/4e317664560d592a11a7 to your computer and use it in GitHub Desktop.
Save DBMoUK/4e317664560d592a11a7 to your computer and use it in GitHub Desktop.
[root@agent1 rc3.d]# puppet --version
3.6.0 (Puppet Enterprise 3.3.0-rc1-573-ge781bf5)
[root@agent1 rc3.d]# rpm -qa|grep mcollective
pe-mcollective-common-2.5.0.0-1.pe.el6.noarch
pe-mcollective-2.5.0.0-1.pe.el6.noarch
[root@agent1 rc3.d]# ./S24pe-mcollective status
mcollectived is stopped
[root@agent1 rc3.d]# ./S24pe-mcollective start
Starting pe-mcollective: /opt/puppet/lib/ruby/site_ruby/1.9.1/mcollective/pluginmanager.rb:169:in `load': cannot load such file -- mcollective/facts/yaml_facts.rb (LoadError)
from /opt/puppet/lib/ruby/site_ruby/1.9.1/mcollective/pluginmanager.rb:169:in `loadclass'
from /opt/puppet/lib/ruby/site_ruby/1.9.1/mcollective/config.rb:144:in `loadconfig'
from /opt/puppet/sbin/mcollectived:33:in `<main>'
[FAILED]
[root@agent1 rc3.d]# locate yaml_facts.rb
/opt/puppet/libexec/mcollective/mcollective/facts/yaml_facts.rb
[root@agent1 rc3.d]# ls -ltr /opt/puppet/libexec/mcollective/mcollective/facts/yaml_facts.rb
-rw-r--r-- 1 root root 1536 May 9 20:52 /opt/puppet/libexec/mcollective/mcollective/facts/yaml_facts.rb
server.cfg
[root@agent1 rc3.d]# cat /etc/puppetlabs/mcollective/server.cfg
main_collective = mcollective
collectives = mcollective
libdir = /usr/libexec/mcollective
logfile = /var/log/mcollective.log
loglevel = info
daemonize = 1
# Plugins
securityprovider = psk
plugin.psk = unset
connector = activemq
plugin.activemq.pool.size = 1
plugin.activemq.pool.1.host = stomp1
plugin.activemq.pool.1.port = 6163
plugin.activemq.pool.1.user = mcollective
plugin.activemq.pool.1.password = marionette
# Facts
factsource = yaml
plugin.yaml = /etc/mcollective/facts.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment