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. --- base.yaml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'base.yaml') diff --git a/base.yaml b/base.yaml index f05664e6..4353c42f 100644 --- a/base.yaml +++ b/base.yaml @@ -40,10 +40,25 @@ Resources: KeystoneDSN: Fn::Join: - 'mysql://keystone:' - - {Fn::GetAtt: [ MySQL , KeystonePassword ]} + - {"Fn::GetAtt": [ MySQL , KeystonePassword ]} - '@' - - {Fn::GetAtt: [ MySQL , MySQLHost ]} + - {"Fn::GetAtt": [ MySQL , MySQLHost ]} - '/keystone' + Glance: + Type: AWS::CloudFormation::Stack + TemplateURL: + Fn::Join: + - {Ref: TemplateRoot} + - glance.yaml + Parameters: + KeyName: default + HeatDSN: + Fn::Join: + - 'mysql://glance:' + - {"Fn::GetAtt": [ MySQL, GlancePassword ] } + - '@' + - {"Fn::GetAtt": [ MySQL, MySQLHost ]} + - '/glance' Heat: Type: AWS::CloudFormation::Stack TemplateURL: @@ -55,7 +70,7 @@ Resources: HeatDSN: Fn::Join: - 'mysql://heat:' - - {Fn::GetAtt: [ MySQL, HeatPassword ] } + - {"Fn::GetAtt": [ MySQL, HeatPassword ] } - '@' - - {Fn::GetAtt: [ MySQL, MySQLHost ]} + - {"Fn::GetAtt": [ MySQL, MySQLHost ]} - '/heat' -- cgit 1.2.3-korg