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