From 1536112575cb05d38ed17d5fd5a556f10fb7d371 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 16 May 2013 16:10:20 -0700 Subject: 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. --- notcompute.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'notcompute.yaml') 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: -- cgit 1.2.3-korg