aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud-source.yaml
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2014-01-30 17:16:18 -0500
committerJan Provaznik <jprovazn@redhat.com>2014-02-26 09:07:59 +0100
commitdb8f15a27d16c30e31e0855d415b597eb292983b (patch)
treed7929ecf6d6bdfa87c3b18495310d6e28bf756ba /overcloud-source.yaml
parentedf87127836805197d2d67c6c2addcdab60c1b7a (diff)
Add rabbit.cookie attribute
All nodes in rabbitmq cluster should have same cookie. This patch adds default random cookie to existing templates. Change-Id: I6579089bd95b0169db20635479e077f3ecade8e2
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r--overcloud-source.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 6d21a4dc..fa626aa2 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -124,7 +124,17 @@ Parameters:
Description: The password for RabbitMQ
Type: String
NoEcho: true
+ RabbitCookieSalt:
+ Type: String
+ Default: unset
+ Description: Salt for the rabbit cookie, change this to force the randomly generated rabbit cookie to change.
Resources:
+ RabbitCookie:
+ Type: OS::Heat::RandomString
+ Properties:
+ length: 20
+ salt:
+ Ref: RabbitCookieSalt
AccessPolicy:
Properties:
AllowedResources:
@@ -435,6 +445,10 @@ Resources:
Ref: RabbitUserName
password:
Ref: RabbitPassword
+ cookie:
+ Fn::GetAtt:
+ - RabbitCookie
+ - value
ntp:
servers:
- {server: {Ref: NtpServer}, fudge: "stratum 0"}