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-- |
5323 | 1 |
Changes needed in client.cfg, mainly : |
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 | 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 | 7 |
|
8 |
NOTE : This patch is developed in-house (and Solaris specific) |
|
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 | 17 |
main_collective = mcollective |
18 |
collectives = mcollective |
|
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 | 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 | 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 | 33 |
-connector = activemq |
34 |
-plugin.activemq.pool.size = 1 |
|
35 |
-plugin.activemq.pool.1.host = stomp1 |
|
36 |
-plugin.activemq.pool.1.port = 6163 |
|
37 |
-plugin.activemq.pool.1.user = mcollective |
|
38 |
-plugin.activemq.pool.1.password = marionette |
|
39 |
+connector = rabbitmq |
|
40 |
+plugin.rabbitmq.vhost = /mco |
|
41 |
+plugin.rabbitmq.pool.size = 1 |
|
42 |
+plugin.rabbitmq.pool.1.host = localhost |
|
43 |
+plugin.rabbitmq.pool.1.port = 61613 |
|
44 |
+plugin.rabbitmq.pool.1.user = mcollective |
|
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 | 47 |
# Facts |
48 |
factsource = yaml |