X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=base.yaml;h=9c2e4e26b1246575f63740cdafb3d34040f8eae6;hb=b7964165b7e2c68743063834445977158a8b3448;hp=f1e8967d38e3d1e3ffa2fd7a05151e5ebf0416c5;hpb=73fbe1e1215615a1470b55b625b399cf17beae8b;p=apex-tripleo-heat-templates.git diff --git a/base.yaml b/base.yaml index f1e8967d..9c2e4e26 100644 --- a/base.yaml +++ b/base.yaml @@ -1,77 +1,77 @@ -HeatTemplateFormatVersion: '2012-12-12' -Description: 'Tie OpenStack components together' -Parameters: +heat_template_version: 2013-05-23 +description: 'Tie OpenStack components together' +parameters: TemplateRoot: - Description: URL Base where all of our templates are available - Type: String + description: URL Base where all of our templates are available + type: string KeystoneAdminToken: - Description: Admin Token needed for keystone - Type: String - NoEcho: true -Resources: + description: Admin Token needed for keystone + type: string + hidden: true +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'