tripleo-heat-templates/base.yaml
Steve Baker beca15dec5 Port all templates to HOT
This change was generated and validated by running the following:

    make hot clean all validate-all

This converts all templates to be valid HOT.

Fn::Select is not converted in this change but this will actually
work with heat_template_version 2013-05-23. Fn::Select is converted
manually in the next change in this series.

This change also sets the heat_template_version to 2014-10-16 which
includes the list_join intrinsic functions used throughout these
templates.

Partial-Blueprint: tripleo-juno-remove-mergepy
Change-Id: Ib3cbb83f6ae94adb7b793ab1b662bd5c55cbb5b3
2014-08-04 08:57:52 +12:00

78 lines
1.9 KiB
YAML

heat_template_version: 2014-10-16
description: 'Tie OpenStack components together'
parameters:
TemplateRoot:
description: URL Base where all of our templates are available
type: string
KeystoneAdminToken:
description: Admin Token needed for keystone
type: string
hidden: true
resources:
RabbitMQ:
type: AWS::CloudFormation::Stack
TemplateURL:
list_join:
- {get_param: TemplateRoot}
- rabbitmq.yaml
parameters:
InstanceType: m1.small
KeyName: default
RabbitMQImage: image-rabbitmq
MySQL:
type: AWS::CloudFormation::Stack
TemplateURL:
list_join:
- {get_param: TemplateRoot}
- mysql.yaml
parameters:
InstanceType: m1.small
KeyName: default
MySQLImage: image-mysql
Keystone:
type: AWS::CloudFormation::Stack
TemplateURL:
list_join:
- {get_param: TemplateRoot}
- keystone.yaml
parameters:
AdminToken: {get_param: KeystoneAdminToken}
KeyName: default
KeystoneDSN:
list_join:
- 'mysql://keystone:'
- {get_attr: [ MySQL , KeystonePassword ]}
- '@'
- {get_attr: [ MySQL , MySQLHost ]}
- '/keystone'
Glance:
type: AWS::CloudFormation::Stack
TemplateURL:
list_join:
- {get_param: TemplateRoot}
- glance.yaml
parameters:
KeyName: default
HeatDSN:
list_join:
- 'mysql://glance:'
- {get_attr: [ MySQL, GlancePassword ] }
- '@'
- {get_attr: [ MySQL, MySQLHost ]}
- '/glance'
Heat:
type: AWS::CloudFormation::Stack
TemplateURL:
list_join:
- {get_param: TemplateRoot}
- heat.yaml
parameters:
KeyName: default
HeatDSN:
list_join:
- 'mysql://heat:'
- {get_attr: [ MySQL, HeatPassword ] }
- '@'
- {get_attr: [ MySQL, MySQLHost ]}
- '/heat'