aboutsummaryrefslogtreecommitdiffstats
path: root/base.yaml
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2013-02-28 08:33:23 -0800
committerClint Byrum <clint@fewbar.com>2013-02-28 08:33:23 -0800
commita6e6afaa5a0bb98ce7862fcdae197357c127203d (patch)
tree394fcc0014f985d4490bfca36a1f8382474bd1e8 /base.yaml
parenta6889c1cd3d7776e5533bde5d187ce27a0d1af92 (diff)
Adding keystone and mysql
Diffstat (limited to 'base.yaml')
-rw-r--r--base.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/base.yaml b/base.yaml
new file mode 100644
index 00000000..adff04ed
--- /dev/null
+++ b/base.yaml
@@ -0,0 +1,32 @@
+HeatTemplateFormatVersion: '2012-12-12'
+Description: 'HEAT Template - Tie OpenStack components together'
+Parameters:
+ TemplateRoot:
+ Description: URL Base where all of our templates are available
+ Type: String
+Resources:
+ MySQL:
+ Type: AWS::CloudFormation::Stack
+ TemplateURL:
+ Fn::Join:
+ - {Ref: TemplateRoot}
+ - mysql.yaml
+ Parameters:
+ InstanceType: m1.small
+ KeyName: default
+ MySQLImage: image-mysql
+ Keystone:
+ Type: AWS::CloudFormation::Stack
+ TemplateURL:
+ Fn::Join:
+ - {Ref: TemplateRoot}
+ - keystone.yaml
+ Parameters:
+ KeyName: default
+ KeystoneDSN:
+ Fn::Join:
+ - 'mysql://keystone:'
+ - {Fn::GetAtt: [ MySQL , KeystonePassword ]}
+ - '@'
+ - {Fn::GetAtt: [ MySQL , MySQLHost ]}
+ - '/keystone'