components/ruby/mcollective/patches/01-mco-client-config.patch
author Matt Keenan <matt.keenan@oracle.com>
Fri, 26 Feb 2016 17:12:07 +0000
changeset 5513 a25ccbe6d0ea
parent 5323 4aa2cfbd75bb
child 5749 194929aecdf7
permissions -rw-r--r--
22649883 mcollective client.cfg and server.cfg should log to SMF service log

Changes needed in client.cfg, mainly :
    Making use of RabbitMQ (default is ActiveMQ)
    The default port used to connect to RabbiMQ is 61613
    Default user : 'mcollective' & passwd : 'changeme'

NOTE : This patch is developed in-house (and Solaris specific)

--- ORIG/etc/client.cfg.dist	2016-02-23 13:46:36.467073673 +0000
+++ mcollective-2.8.2/etc/client.cfg.dist	2016-02-24 17:18:00.911791673 +0000
@@ -1,19 +1,21 @@
 main_collective = mcollective
 collectives = mcollective
-libdir = /usr/libexec/mcollective
-logger_type = console
+libdir = /usr/share/mcollective
+logger_type = file
+logfile = /dev/stderr           # Send output to SMF service log
 loglevel = warn
 
 # 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
+connector = rabbitmq
+plugin.rabbitmq.vhost = /mco
+plugin.rabbitmq.pool.size = 1
+plugin.rabbitmq.pool.1.host = localhost
+plugin.rabbitmq.pool.1.port = 61613
+plugin.rabbitmq.pool.1.user = mcollective
+plugin.rabbitmq.pool.1.password = changeme
 
 # Facts
 factsource = yaml