components/ruby/mcollective/patches/01-mco-client-config.patch
author Patrick Einheber <patrick.einheber@oracle.com>
Thu, 22 Sep 2016 07:45:05 -0700
changeset 6958 864721a3146f
parent 6665 9dbe2f1926b4
permissions -rw-r--r--
23019017 clone archives should remove sensitive puppet configuration data 23606517 mcollective default psk setting should be changeme
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
6958
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
     6
    Set the PSK type explicitly to UID and the default to 'changeme'
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     7
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
     8
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
     9
6958
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    10
--- marionette-collective-2.8.8/etc/client.cfg.dist.orig	2016-09-19 08:51:01.733783224 -0700
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    11
+++ marionette-collective-2.8.8/etc/client.cfg.dist	2016-09-19 08:51:34.482722348 -0700
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    12
@@ -1,19 +1,27 @@
5860
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    13
+#######################################################################
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    14
+# 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
    15
+#######################################################################
afd31ba91ee9 23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents: 5749
diff changeset
    16
+
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    17
 main_collective = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    18
 collectives = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    19
-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
    20
-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
    21
 loglevel = warn
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    22
+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
    23
+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
    24
+# 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
    25
+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
    26
 
a25ccbe6d0ea 22649883 mcollective client.cfg and server.cfg should log to SMF service log
Matt Keenan <matt.keenan@oracle.com>
parents: 5323
diff changeset
    27
 # Plugins
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    28
 securityprovider = psk
6958
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    29
-plugin.psk = unset
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    30
+plugin.psk = changeme
864721a3146f 23019017 clone archives should remove sensitive puppet configuration data
Patrick Einheber <patrick.einheber@oracle.com>
parents: 6665
diff changeset
    31
+plugin.psk.callertype = uid
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
    32
 
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    33
-connector = activemq
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    34
-plugin.activemq.pool.size = 1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    35
-plugin.activemq.pool.1.host = stomp1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    36
-plugin.activemq.pool.1.port = 6163
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    37
-plugin.activemq.pool.1.user = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    38
-plugin.activemq.pool.1.password = marionette
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    39
+connector = rabbitmq
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    40
+plugin.rabbitmq.vhost = /mco
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    41
+plugin.rabbitmq.pool.size = 1
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    42
+plugin.rabbitmq.pool.1.host = localhost
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    43
+plugin.rabbitmq.pool.1.port = 61613
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    44
+plugin.rabbitmq.pool.1.user = mcollective
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    45
+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
    46
 
5323
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    47
 # Facts
4aa2cfbd75bb PSARC/2015/290 Stomp plugin for Ruby
saurabh.vyas@oracle.com
parents:
diff changeset
    48
 factsource = yaml