aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRichard Su <rwsu@redhat.com>2014-02-11 15:52:37 -0800
committerRichard Su <rwsu@redhat.com>2014-02-17 11:07:28 -0800
commitff0959a200cfad26d0c688bf293e3ebeb365ff48 (patch)
tree16171e1bf31f959becb23c5fde5af4f7fa6e5e7c /examples
parent5577ae61ecc1799e49f80b551104a28f00d0bf89 (diff)
Add username parameter for rabbit
Username is currently assumed to be guest in the configuration files. This change makes it more explicit. Configuration files in tripleo-image-elements will be updated to use this parameter in an upcoming patch. Change-Id: Ia176f4d573a3a293560c72236a4181befa678301
Diffstat (limited to 'examples')
-rw-r--r--examples/scale1.yaml1
-rw-r--r--examples/scale2.yaml3
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/scale1.yaml b/examples/scale1.yaml
index c0a0763d..bbe618da 100644
--- a/examples/scale1.yaml
+++ b/examples/scale1.yaml
@@ -23,6 +23,7 @@ Resources:
SubKey: Resources.NovaCompute0Config
Parameters:
ComputeImage: "123"
+ RabbitUserName: "guest"
RabbitPassword: "guest"
NovaCompute0:
Type: FileInclude
diff --git a/examples/scale2.yaml b/examples/scale2.yaml
index d1a81fe5..8b3e4f8f 100644
--- a/examples/scale2.yaml
+++ b/examples/scale2.yaml
@@ -2,6 +2,8 @@ HeatTemplateFormatVersion: '2012-12-12'
Parameters:
ComputeImage:
Type: String
+ RabbitUserName:
+ Type: String
RabbitPassword:
Type: String
NoEcho: true
@@ -62,5 +64,6 @@ Resources:
- NovaCompute0
- networks
rabbit:
+ username: {Ref: RabbitUserName}
password: {Ref: RabbitPassword}