components/ruby/mcollective/patches/01-mco-client-config.patch
changeset 5323 4aa2cfbd75bb
child 5513 a25ccbe6d0ea
equal deleted inserted replaced
5314:8875218ab6e2 5323:4aa2cfbd75bb
       
     1 Changes needed in client.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 
       
     6 NOTE : This patch is developed in-house (and Solaris specific)
       
     7 
       
     8 --- mcollective-2.8.2/etc/client.cfg.dist.orig      2015-05-14 08:50:32.000000000 -0700
       
     9 +++ mcollective-2.8.2/etc/client.cfg.dist       2015-11-19 12:01:30.945604310 -0800
       
    10 @@ -1,6 +1,6 @@
       
    11  main_collective = mcollective
       
    12  collectives = mcollective
       
    13 -libdir = /usr/libexec/mcollective
       
    14 +libdir = /usr/share/mcollective
       
    15  logger_type = console
       
    16  loglevel = warn
       
    17 
       
    18 @@ -8,12 +8,13 @@ loglevel = warn
       
    19  securityprovider = psk
       
    20  plugin.psk = unset
       
    21 
       
    22 -connector = activemq
       
    23 -plugin.activemq.pool.size = 1
       
    24 -plugin.activemq.pool.1.host = stomp1
       
    25 -plugin.activemq.pool.1.port = 6163
       
    26 -plugin.activemq.pool.1.user = mcollective
       
    27 -plugin.activemq.pool.1.password = marionette
       
    28 +connector = rabbitmq
       
    29 +plugin.rabbitmq.vhost = /mco
       
    30 +plugin.rabbitmq.pool.size = 1
       
    31 +plugin.rabbitmq.pool.1.host = localhost
       
    32 +plugin.rabbitmq.pool.1.port = 61613
       
    33 +plugin.rabbitmq.pool.1.user = mcollective
       
    34 +plugin.rabbitmq.pool.1.password = changeme
       
    35 
       
    36  # Facts
       
    37  factsource = yaml