From 2af825cf338595c4538543c572fbc2664c668a91 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Wed, 8 May 2013 16:13:07 -0700 Subject: Add glance to mysql and base. --- mysql.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'mysql.yaml') diff --git a/mysql.yaml b/mysql.yaml index cd472f10..3c1658c2 100644 --- a/mysql.yaml +++ b/mysql.yaml @@ -17,6 +17,10 @@ Parameters: Description: Heat database username. Type: String Default: heat + GlanceUser: + Description: Glance database username. + Type: String + Default: heat MySQLImage: Type: String BootstrapHost: @@ -65,6 +69,9 @@ Resources: - database: heat username: {Ref: HeatUser} userhandle: {Ref: HeatPasswordHandle} + - database: glance + username: {Ref: GlanceUser} + userhandle: {Ref: GlancePasswordHandle} mysql-migration: users: root: @@ -91,6 +98,14 @@ Resources: {Ref: MySQLImage} InstanceType: {Ref: InstanceType} KeyName: {Ref: KeyName} + GlancePasswordHandle: + Type: AWS::CloudFormation::WaitConditionHandle + GlancePassword: + DependsOn: MySQL + Type: AWS::CloudFormation::WaitCondition + Properties: + Handle: {Ref: GlancePasswordHandle} + Timeout: 90 HeatPasswordHandle: Type: AWS::CloudFormation::WaitConditionHandle HeatPassword: @@ -116,3 +131,6 @@ Outputs: HeatPassword: Fn::GetAtt: [ HeatPassword, Data ] HeatUser: {Ref: HeatUser} + GlancePassword: + Fn::GetAtt: [ GlancePassword, Data ] + GlanceUser: {Ref: GlanceUser} -- cgit 1.2.3-korg