2a2fe91602
This change corrects many problems detected by the `yamllint` linter. It's a preparation for enabling this linter in change Ie746230f28fe3ed0cf218201d5a3810f7bc44070. For instance, the first run of the YAML linter helped discovering a key duplication problem in `oso_ha.yaml`: the `depends_on` key was present twice, so the first occurence was ignored. Other changes are cosmetic: extra spaces, extra blank lines, missing newlines at end-of-file, etc. Change-Id: I7f2369adfb152fd2a74b9b105e969e653e592922
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
heat_template_version: 2013-05-23
|
|
|
|
description: Sample Keystone Service Endpoint template
|
|
|
|
parameters:
|
|
name:
|
|
type: string
|
|
description: Keystone service name
|
|
description:
|
|
type: string
|
|
description: Keystone service description
|
|
type:
|
|
type: string
|
|
description: Keystone service type
|
|
region:
|
|
type: string
|
|
description: Keystone region name
|
|
public_url:
|
|
type: string
|
|
description: Public endpoint url
|
|
internal_url:
|
|
type: string
|
|
description: Internal endpoint url
|
|
admin_url:
|
|
type: string
|
|
description: Admin endpoint url
|
|
|
|
resources:
|
|
sample_service:
|
|
type: OS::Keystone::Service
|
|
properties:
|
|
name: {get_param: name}
|
|
type: {get_param: type}
|
|
description: {get_param: description}
|
|
|
|
public_endpoint:
|
|
type: OS::Keystone::Endpoint
|
|
properties:
|
|
service: {get_resource: sample_service}
|
|
url: {get_param: public_url}
|
|
region: {get_param: region}
|
|
interface: public
|
|
|
|
internal_endpoint:
|
|
type: OS::Keystone::Endpoint
|
|
properties:
|
|
service: {get_resource: sample_service}
|
|
url: {get_param: internal_url}
|
|
region: {get_param: region}
|
|
interface: internal
|
|
|
|
admin_endpoint:
|
|
type: OS::Keystone::Endpoint
|
|
properties:
|
|
service: {get_resource: sample_service}
|
|
url: {get_param: admin_url}
|
|
region: {get_param: region}
|
|
interface: admin
|