X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=base.yaml;h=a1ba509f2a589ffa73b244805f7c5a3f89a3ce8f;hb=bed32cf5759698e9a2b34b9d6ead7bbf7086d1bb;hp=640796d26baaf307800f105262446a6718b1307d;hpb=a983dbb103b0353d7cdca53d7e594957f1cccce4;p=apex-tripleo-heat-templates.git diff --git a/base.yaml b/base.yaml index 640796d2..a1ba509f 100644 --- a/base.yaml +++ b/base.yaml @@ -1,76 +1,77 @@ -HeatTemplateFormatVersion: '2012-12-12' -Description: 'Tie OpenStack components together' -Parameters: - TemplateRoot: - Description: URL Base where all of our templates are available - Type: String +heat_template_version: 2013-05-23 +description: 'Tie OpenStack components together' +parameters: KeystoneAdminToken: - Description: Admin Token needed for keystone - Type: String -Resources: + 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 + type: AWS::CloudFormation::Stack TemplateURL: Fn::Join: - - {Ref: TemplateRoot} + - {get_param: TemplateRoot} - rabbitmq.yaml - Parameters: + parameters: InstanceType: m1.small KeyName: default RabbitMQImage: image-rabbitmq MySQL: - Type: AWS::CloudFormation::Stack + type: AWS::CloudFormation::Stack TemplateURL: Fn::Join: - - {Ref: TemplateRoot} + - {get_param: TemplateRoot} - mysql.yaml - Parameters: + parameters: InstanceType: m1.small KeyName: default MySQLImage: image-mysql Keystone: - Type: AWS::CloudFormation::Stack + type: AWS::CloudFormation::Stack TemplateURL: Fn::Join: - - {Ref: TemplateRoot} + - {get_param: TemplateRoot} - keystone.yaml - Parameters: - AdminToken: {Ref: KeystoneAdminToken} + parameters: + AdminToken: {get_param: KeystoneAdminToken} KeyName: default KeystoneDSN: Fn::Join: - 'mysql://keystone:' - - {"Fn::GetAtt": [ MySQL , KeystonePassword ]} + - {get_attr: [ MySQL , KeystonePassword ]} - '@' - - {"Fn::GetAtt": [ MySQL , MySQLHost ]} + - {get_attr: [ MySQL , MySQLHost ]} - '/keystone' Glance: - Type: AWS::CloudFormation::Stack + type: AWS::CloudFormation::Stack TemplateURL: Fn::Join: - - {Ref: TemplateRoot} + - {get_param: TemplateRoot} - glance.yaml - Parameters: + parameters: KeyName: default HeatDSN: Fn::Join: - 'mysql://glance:' - - {"Fn::GetAtt": [ MySQL, GlancePassword ] } + - {get_attr: [ MySQL, GlancePassword ] } - '@' - - {"Fn::GetAtt": [ MySQL, MySQLHost ]} + - {get_attr: [ MySQL, MySQLHost ]} - '/glance' Heat: - Type: AWS::CloudFormation::Stack + type: AWS::CloudFormation::Stack TemplateURL: Fn::Join: - - {Ref: TemplateRoot} + - {get_param: TemplateRoot} - heat.yaml - Parameters: + parameters: KeyName: default HeatDSN: Fn::Join: - 'mysql://heat:' - - {"Fn::GetAtt": [ MySQL, HeatPassword ] } + - {get_attr: [ MySQL, HeatPassword ] } - '@' - - {"Fn::GetAtt": [ MySQL, MySQLHost ]} + - {get_attr: [ MySQL, MySQLHost ]} - '/heat'