components/ruby/mcollective/patches/01-mco-client-config.patch
author Patrick Einheber <patrick.einheber@oracle.com>
Wed, 27 Apr 2016 14:55:10 -0700
changeset 5860 afd31ba91ee9
parent 5749 194929aecdf7
child 6665 9dbe2f1926b4
permissions -rw-r--r--
23146903 Puppet and OpenStack modules need modification notices
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     1
Changes needed in client.cfg, mainly :
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     2
    Making use of RabbitMQ (default is ActiveMQ)
5749
194929aecdf7 23076287 server and client.cfg logfile entry is not quite right
Andrew Balfour <Andrew.Balfour@Oracle.COM>
parents: 5513
diff changeset
     3
    The default port used to connect to RabbitMQ is 61613
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     4
    Default user : 'mcollective' & passwd : 'changeme'
5749
194929aecdf7 23076287 server and client.cfg logfile entry is not quite right
Andrew Balfour <Andrew.Balfour@Oracle.COM>
parents: 5513
diff changeset
     5
    Change RabbitMQ to log to /dev/stderr, so it goes to the SMF log
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     6
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     7
NOTE : This patch is developed in-house (and Solaris specific)
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     8
5860
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
     9
--- mcollective-2.8.2/etc/client.cfg.dist.orig	2016-04-20 09:42:43.785159244 -0700
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    10
+++ mcollective-2.8.2/etc/client.cfg.dist	2016-04-20 12:07:58.755907466 -0700
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    11
@@ -1,19 +1,26 @@
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    12
+#######################################################################
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    13
+# Oracle has modified the originally distributed contents of this file.
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    14
+#######################################################################
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    15
+
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    16
 main_collective = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    17
 collectives = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    18
-libdir = /usr/libexec/mcollective
5513
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    19
-logger_type = console
5749
194929aecdf7 23076287 server and client.cfg logfile entry is not quite right
Andrew Balfour <Andrew.Balfour@Oracle.COM>
parents: 5513
diff changeset
    20
 loglevel = warn
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    21
+libdir = /usr/share/mcollective
5513
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    22
+logger_type = file
5749
194929aecdf7 23076287 server and client.cfg logfile entry is not quite right
Andrew Balfour <Andrew.Balfour@Oracle.COM>
parents: 5513
diff changeset
    23
+# Send output to SMF service log
194929aecdf7 23076287 server and client.cfg logfile entry is not quite right
Andrew Balfour <Andrew.Balfour@Oracle.COM>
parents: 5513
diff changeset
    24
+logfile = /dev/stderr
5513
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    25
 
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    26
 # Plugins
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    27
 securityprovider = psk
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    28
 plugin.psk = unset
5513
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    29
 
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    30
-connector = activemq
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    31
-plugin.activemq.pool.size = 1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    32
-plugin.activemq.pool.1.host = stomp1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    33
-plugin.activemq.pool.1.port = 6163
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    34
-plugin.activemq.pool.1.user = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    35
-plugin.activemq.pool.1.password = marionette
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    36
+connector = rabbitmq
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    37
+plugin.rabbitmq.vhost = /mco
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    38
+plugin.rabbitmq.pool.size = 1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    39
+plugin.rabbitmq.pool.1.host = localhost
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    40
+plugin.rabbitmq.pool.1.port = 61613
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    41
+plugin.rabbitmq.pool.1.user = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    42
+plugin.rabbitmq.pool.1.password = changeme
5513
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    43
 
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    44
 # Facts
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    45
 factsource = yaml