components/ruby/mcollective/patches/02-mco-server-config.patch
changeset 6958 864721a3146f
parent 6665 9dbe2f1926b4
equal deleted inserted replaced
6957:ff86c93b1c69 6958:864721a3146f
     1 Changes needed in server.cfg, mainly :
     1 Changes needed in server.cfg, mainly :
     2     Making use of RabbitMQ (default is ActiveMQ)
     2     Making use of RabbitMQ (default is ActiveMQ)
     3     The default port used to connect to RabbitMQ is 61613
     3     The default port used to connect to RabbitMQ is 61613
     4     Default user : 'mcollective' & passwd : 'changeme'
     4     Default user : 'mcollective' & passwd : 'changeme'
     5     Change RabbitMQ to log to /dev/stderr, so it goes to the SMF log
     5     Change RabbitMQ to log to /dev/stderr, so it goes to the SMF log
       
     6     Set the PSK type explicitly to UID and the default to 'changeme'
     6 
     7 
     7 NOTE : This patch is developed in-house (and Solaris specific)
     8 --- marionette-collective-2.8.8/etc/server.cfg.dist.orig	2016-09-19 08:51:05.719526817 -0700
     8 
     9 +++ marionette-collective-2.8.8/etc/server.cfg.dist	2016-09-19 08:51:49.506159302 -0700
     9 --- marionette-collective-2.8.8/etc/server.cfg.dist.orig	2016-04-20 12:36:27.556854540 -0700
    10 @@ -1,20 +1,28 @@
    10 +++ marionette-collective-2.8.8/etc/server.cfg.dist	2016-04-20 12:37:10.186932498 -0700
       
    11 @@ -1,7 +1,13 @@
       
    12 +#######################################################################
    11 +#######################################################################
    13 +# Oracle has modified the originally distributed contents of this file.
    12 +# Oracle has modified the originally distributed contents of this file.
    14 +#######################################################################
    13 +#######################################################################
    15 +
    14 +
    16  main_collective = mcollective
    15  main_collective = mcollective
    22 +# Send output to SMF service log
    21 +# Send output to SMF service log
    23 +logfile = /dev/stderr
    22 +logfile = /dev/stderr
    24  loglevel = info
    23  loglevel = info
    25  daemonize = 1
    24  daemonize = 1
    26  
    25  
    27 @@ -9,12 +15,13 @@
    26  # Plugins
    28  securityprovider = psk
    27  securityprovider = psk
    29  plugin.psk = unset
    28 -plugin.psk = unset
       
    29 +plugin.psk = changeme
       
    30 +plugin.psk.callertype = uid
    30  
    31  
    31 -connector = activemq
    32 -connector = activemq
    32 -plugin.activemq.pool.size = 1
    33 -plugin.activemq.pool.size = 1
    33 -plugin.activemq.pool.1.host = stomp1
    34 -plugin.activemq.pool.1.host = stomp1
    34 -plugin.activemq.pool.1.port = 6163
    35 -plugin.activemq.pool.1.port = 6163