components/ruby/puppet-modules/puppetlabs-rabbitmq/patches/04-erlang_cookie_ownership.patch
equal
deleted
inserted
replaced
1 In-house patch to touch /var/lib/rabbitmq/.erlang.cookie with the |
1 In-house patch to touch /var/lib/rabbitmq/.erlang.cookie with the |
2 proper ownership before starting rabbitmq. This patch is not suitable |
2 proper ownership before starting rabbitmq. This patch is not suitable |
3 for upstream. |
3 for upstream. |
4 |
4 |
5 --- ORIG/manifests/init.pp 2016-01-22 18:14:21.976458350 +0000 |
5 --- puppetlabs-rabbitmq-5.3.1/manifests/init.pp.orig 2016-04-21 06:25:00.840836012 -0700 |
6 +++ puppetlabs-rabbitmq-5.3.1/manifests/init.pp 2016-01-22 18:14:59.495828828 +0000 |
6 +++ puppetlabs-rabbitmq-5.3.1/manifests/init.pp 2016-04-21 06:25:36.238696524 -0700 |
7 @@ -233,7 +233,13 @@ |
7 @@ -1,3 +1,7 @@ |
|
8 +####################################################################### |
|
9 +# Oracle has modified the originally distributed contents of this file. |
|
10 +####################################################################### |
|
11 + |
|
12 # Main rabbitmq class |
|
13 class rabbitmq( |
|
14 $admin_enable = $rabbitmq::params::admin_enable, |
|
15 @@ -233,7 +237,13 @@ |
8 anchor { 'rabbitmq::begin': } |
16 anchor { 'rabbitmq::begin': } |
9 anchor { 'rabbitmq::end': } |
17 anchor { 'rabbitmq::end': } |
10 |
18 |
11 - Anchor['rabbitmq::begin'] -> Class['::rabbitmq::install'] |
19 - Anchor['rabbitmq::begin'] -> Class['::rabbitmq::install'] |
12 + file { 'cookie_owner': |
20 + file { 'cookie_owner': |