diff options
author | 2013-03-26 04:43:30 +0000 | |
---|---|---|
committer | 2013-03-26 04:43:30 +0000 | |
commit | 89662c8e67c285acfa5bdd167c71d5c9eff76e64 (patch) | |
tree | 63bf5d12f59bdf6b68a1d34b0c16f9121af69675 /mysql.yaml | |
parent | 5cbb8d3a852d6360c3935d183e85ccb74e283ec6 (diff) |
Refactoring to have a mysql-migration element.
Diffstat (limited to 'mysql.yaml')
-rw-r--r-- | mysql.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -52,18 +52,19 @@ Resources: MySQL: Type: AWS::EC2::Instance Metadata: - OpenStack::ImageBuilder::Elements: [ mysql ] + OpenStack::ImageBuilder::Elements: [ mysql-migration ] OpenStack::Config: mysql: + create-users: + - database: keystone + username: {Ref: KeystoneUser} + userhandle: {Ref: KeystonePasswordHandle} + mysql-migration: users: root: password: {Ref: BootstrapRootPassword} dump: password: {Ref: BootstrapDumpPassword} - create-users: - - database: keystone - username: {Ref: KeystoneUser} - userhandle: {Ref: KeystonePasswordHandle} bootstrap_host: {Ref: BootstrapHost} slave_user: {Ref: BootstrapSlaveUser} slave_password: {Ref: BootstrapSlavePassword} @@ -90,7 +91,7 @@ Resources: Type: AWS::CloudFormation::WaitCondition Properties: Handle: {Ref: KeystonePasswordHandle} - Timeout: 60 + Timeout: 90 Outputs: MySQLHost: Fn::GetAtt: [ MySQL , PrivateIp ] |