author | Patrick Einheber <patrick.einheber@oracle.com> |
Wed, 27 Apr 2016 14:55:10 -0700 | |
changeset 5860 | afd31ba91ee9 |
parent 5776 | f6fa335ae47b |
permissions | -rw-r--r-- |
4911
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
1 |
Patch to add Solaris support. This patch has not yet been submitted |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
2 |
upstream. |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
3 |
|
5860
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
4 |
--- puppetlabs-rabbitmq-5.3.1/manifests/params.pp.orig 2016-04-20 13:36:29.896159874 -0700 |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
5 |
+++ puppetlabs-rabbitmq-5.3.1/manifests/params.pp 2016-04-20 13:41:31.538412172 -0700 |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
6 |
@@ -1,3 +1,7 @@ |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
7 |
+####################################################################### |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
8 |
+# 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:
5776
diff
changeset
|
9 |
+####################################################################### |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
10 |
+ |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
11 |
# Class: rabbitmq::params |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
12 |
# |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
13 |
# The RabbitMQ Module configuration settings. |
afd31ba91ee9
23146903 Puppet and OpenStack modules need modification notices
Patrick Einheber <patrick.einheber@oracle.com>
parents:
5776
diff
changeset
|
14 |
@@ -58,6 +62,17 @@ |
5591
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
15 |
$rabbitmq_home = '/var/lib/rabbitmq' |
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
16 |
$plugin_dir = "/usr/lib/rabbitmq/lib/rabbitmq_server-${version}/plugins" |
4911
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
17 |
} |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
18 |
+ 'Solaris': { |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
19 |
+ $package_ensure = 'installed' |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
20 |
+ $package_name = 'network/amqp/rabbitmq' |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
21 |
+ $service_name = 'application/rabbitmq:default' |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
22 |
+ $package_provider = 'pkg' |
5776
f6fa335ae47b
23034195 Update RabbitMQ to 3.6.1
Drew Fisher <drew.fisher@oracle.com>
parents:
5591
diff
changeset
|
23 |
+ $version = '3.6.1' |
5591
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
24 |
+ $rabbitmq_user = 'rabbitmq' |
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
25 |
+ $rabbitmq_group = 'daemon' |
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
26 |
+ $rabbitmq_home = '/var/lib/rabbitmq' |
d29b325ec1b3
22911268 Update puppetlabs-rabbitmq to 5.3.1
Drew Fisher <drew.fisher@oracle.com>
parents:
4911
diff
changeset
|
27 |
+ $plugin_dir = '/usr/lib/rabbitmq/plugins' |
4911
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
28 |
+ } |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
29 |
default: { |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
30 |
fail("The ${module_name} module is not supported on an ${::osfamily} based system.") |
6590570733a1
PSARC/2015/368 Common Puppet Modules
Drew Fisher <drew.fisher@oracle.com>
parents:
diff
changeset
|
31 |
} |