components/ruby/mcollective/patches/02-mco-server-config.patch
changeset 5323 4aa2cfbd75bb
child 5513 a25ccbe6d0ea
equal deleted inserted replaced
5314:8875218ab6e2 5323:4aa2cfbd75bb
       
     1 Changes needed in server.cfg, mainly :
       
     2     Making use of RabbitMQ (default is ActiveMQ)
       
     3     The default port used to connect to RabbiMQ is 61613
       
     4     Default user : 'mcollective' & passwd : 'changeme'
       
     5 NOTE : This patch is developed in-house (and Solaris specific)
       
     6 
       
     7 --- mcollective-2.8.2/etc/server.cfg.dist.orig	2015-05-14 08:50:32.000000000 -0700
       
     8 +++ mcollective-2.8.2/etc/server.cfg.dist	2015-05-14 08:50:32.000000000 -0700
       
     9 @@ -1,7 +1,7 @@
       
    10  main_collective = mcollective
       
    11  collectives = mcollective
       
    12 -libdir = /usr/libexec/mcollective
       
    13 -logfile = /var/log/mcollective.log
       
    14 +libdir = /usr/share/mcollective
       
    15 +logfile = /var/log/mcollective/mcollective.log
       
    16  loglevel = info
       
    17  daemonize = 1
       
    18 
       
    19 @@ -9,12 +9,13 @@ daemonize = 1
       
    20  securityprovider = psk
       
    21  plugin.psk = unset
       
    22 
       
    23 -connector = activemq
       
    24 -plugin.activemq.pool.size = 1
       
    25 -plugin.activemq.pool.1.host = stomp1
       
    26 -plugin.activemq.pool.1.port = 6163
       
    27 -plugin.activemq.pool.1.user = mcollective
       
    28 -plugin.activemq.pool.1.password = marionette
       
    29 +connector = rabbitmq
       
    30 +plugin.rabbitmq.vhost = /mco
       
    31 +plugin.rabbitmq.pool.size = 1
       
    32 +plugin.rabbitmq.pool.1.host = localhost
       
    33 +plugin.rabbitmq.pool.1.port = 61613
       
    34 +plugin.rabbitmq.pool.1.user = mcollective
       
    35 +plugin.rabbitmq.pool.1.password = changeme
       
    36 
       
    37  # Facts
       
    38  factsource = yaml