From f3760660331a188c486c9643896e6458ebc4c455 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Tue, 14 May 2013 12:15:55 -0700 Subject: Adding username/password for Nova in notcompute. --- mysql.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'mysql.yaml') diff --git a/mysql.yaml b/mysql.yaml index 4949b519..db051a24 100644 --- a/mysql.yaml +++ b/mysql.yaml @@ -21,6 +21,10 @@ Parameters: Description: Glance database username. Type: String Default: heat + NovaUser: + Description: Glance database username. + Type: String + Default: heat MySQLImage: Type: String BootstrapHost: @@ -73,6 +77,9 @@ Resources: - database: glance username: {Ref: GlanceUser} userhandle: {Ref: GlancePasswordHandle} + - database: nova + username: {Ref: NovaUser} + userhandle: {Ref: NovaPasswordHandle} mysql-migration: users: root: @@ -99,6 +106,14 @@ Resources: {Ref: MySQLImage} InstanceType: {Ref: InstanceType} KeyName: {Ref: KeyName} + NovaPasswordHandle: + Type: AWS::CloudFormation::WaitConditionHandle + NovaPassword: + DependsOn: MySQL + Type: AWS::CloudFormation::WaitCondition + Properties: + Handle: {Ref: NovaPasswordHandle} + Timeout: 90 GlancePasswordHandle: Type: AWS::CloudFormation::WaitConditionHandle GlancePassword: @@ -135,3 +150,6 @@ Outputs: GlancePassword: Fn::GetAtt: [ GlancePassword, Data ] GlanceUser: {Ref: GlanceUser} + NovaPassword: + Fn::GetAtt: [ NovaPassword, Data ] + NovaUser: {Ref: NovaUser} -- cgit 1.2.3-korg