aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2013-05-16 16:10:20 -0700
committerClint Byrum <clint@fewbar.com>2013-06-06 09:36:07 -0700
commit1536112575cb05d38ed17d5fd5a556f10fb7d371 (patch)
tree004e2d2ef7a8c255bb58bdebfb9da0bbf8ce0548
parentca5b728ca0a2786ed250d6725d4f5a749204ed35 (diff)
Pushing passwords into mysql and other fixes.
Generating and distributing usernames/passwords is just too complicated with Heat at this stage, so we need to push them into mysql from the template.
-rw-r--r--notcompute.yaml24
1 files changed, 23 insertions, 1 deletions
diff --git a/notcompute.yaml b/notcompute.yaml
index f63307d1..3579760b 100644
--- a/notcompute.yaml
+++ b/notcompute.yaml
@@ -93,6 +93,23 @@ Resources:
Ref: ServicePassword
admin-token:
Ref: AdminToken
+ mysql:
+ create-users:
+ - database: keystone
+ username: keystone
+ password: {Ref: KeystoneDBPassword}
+ - database: heat
+ username: heat
+ password: {Ref: HeatDBPassword}
+ - database: glance
+ username: glance
+ password: {Ref: GlanceDBPassword}
+ - database: nova
+ username: nova
+ password: {Ref: NovaDBPassword}
+ - database: quantum
+ username: quantum
+ password: {Ref: QuantumDBPassword}
glance:
db:
Fn::Join:
@@ -120,12 +137,13 @@ Resources:
Ref: AWS::StackName
region:
Ref: AWS::Region
+ auth_encryption_key: unset
interfaces:
control:
Ref: NovaInterfaces
keystone:
host:
- Fn::GetAtt: [ notocmpute, PrivateIp ]
+ Fn::GetAtt: [ notcompute, PrivateIp ]
db:
Fn::Join:
- ''
@@ -153,6 +171,10 @@ Resources:
Fn::GetAtt: [ notcompute , PrivateIp ]
password:
Ref: RabbitPassword
+ users:
+ username: guest
+ password:
+ Ref: RabbitPassword
service-password:
Ref: ServicePassword
Properties: