components/ruby/mcollective/patches/02-mco-server-config.patch
author saurabh.vyas@oracle.com
Mon, 25 Jan 2016 11:02:32 -0800
changeset 5323 4aa2cfbd75bb
child 5513 a25ccbe6d0ea
permissions -rw-r--r--
PSARC/2015/290 Stomp plugin for Ruby PSARC/2015/291 MCollective 21230525 Add ruby-STOPM module to userland consolidation 20205937 Add Mcollective module to userland consolidation

Changes needed in server.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)

--- mcollective-2.8.2/etc/server.cfg.dist.orig	2015-05-14 08:50:32.000000000 -0700
+++ mcollective-2.8.2/etc/server.cfg.dist	2015-05-14 08:50:32.000000000 -0700
@@ -1,7 +1,7 @@
 main_collective = mcollective
 collectives = mcollective
-libdir = /usr/libexec/mcollective
-logfile = /var/log/mcollective.log
+libdir = /usr/share/mcollective
+logfile = /var/log/mcollective/mcollective.log
 loglevel = info
 daemonize = 1

@@ -9,12 +9,13 @@ daemonize = 1
 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