diff options
author | 2013-05-14 12:15:55 -0700 | |
---|---|---|
committer | 2013-06-06 09:33:29 -0700 | |
commit | f3760660331a188c486c9643896e6458ebc4c455 (patch) | |
tree | 6fdbd8045e23327590c1ac386d0262162f65b4d0 /mysql.yaml | |
parent | 862bd3626bc375354d016196f57860a5216ba7fd (diff) |
Adding username/password for Nova in notcompute.
Diffstat (limited to 'mysql.yaml')
-rw-r--r-- | mysql.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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} |