blob: a1ba509f2a589ffa73b244805f7c5a3f89a3ce8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
heat_template_version: 2013-05-23
description: 'Tie OpenStack components together'
parameters:
KeystoneAdminToken:
description: Admin Token needed for keystone
type: string
hidden: true
TemplateRoot:
description: URL Base where all of our templates are available
type: string
resources:
RabbitMQ:
type: AWS::CloudFormation::Stack
TemplateURL:
Fn::Join:
- {get_param: TemplateRoot}
- rabbitmq.yaml
parameters:
InstanceType: m1.small
KeyName: default
RabbitMQImage: image-rabbitmq
MySQL:
type: AWS::CloudFormation::Stack
TemplateURL:
Fn::Join:
- {get_param: TemplateRoot}
- mysql.yaml
parameters:
InstanceType: m1.small
KeyName: default
MySQLImage: image-mysql
Keystone:
type: AWS::CloudFormation::Stack
TemplateURL:
Fn::Join:
- {get_param: TemplateRoot}
- keystone.yaml
parameters:
AdminToken: {get_param: KeystoneAdminToken}
KeyName: default
KeystoneDSN:
Fn::Join:
- 'mysql://keystone:'
- {get_attr: [ MySQL , KeystonePassword ]}
- '@'
- {get_attr: [ MySQL , MySQLHost ]}
- '/keystone'
Glance:
type: AWS::CloudFormation::Stack
TemplateURL:
Fn::Join:
- {get_param: TemplateRoot}
- glance.yaml
parameters:
KeyName: default
HeatDSN:
Fn::Join:
- 'mysql://glance:'
- {get_attr: [ MySQL, GlancePassword ] }
- '@'
- {get_attr: [ MySQL, MySQLHost ]}
- '/glance'
Heat:
type: AWS::CloudFormation::Stack
TemplateURL:
Fn::Join:
- {get_param: TemplateRoot}
- heat.yaml
parameters:
KeyName: default
HeatDSN:
Fn::Join:
- 'mysql://heat:'
- {get_attr: [ MySQL, HeatPassword ] }
- '@'
- {get_attr: [ MySQL, MySQLHost ]}
- '/heat'
|