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
84 lines
2.0 KiB
YAML
84 lines
2.0 KiB
YAML
heat_template_version: 2013-05-23
|
|
|
|
description: Sample Keystone template updated all resources except domain field
|
|
|
|
resources:
|
|
test_role_a:
|
|
type: OS::Keystone::Role
|
|
properties:
|
|
name: test_role_a_updated
|
|
|
|
test_role_b:
|
|
type: OS::Keystone::Role
|
|
properties:
|
|
name: test_role_b
|
|
|
|
test_project_a:
|
|
type: OS::Keystone::Project
|
|
properties:
|
|
name: test_project_a_updated
|
|
domain: default
|
|
description: Test project updated
|
|
enabled: false
|
|
|
|
test_project_b:
|
|
type: OS::Keystone::Project
|
|
properties:
|
|
name: test_project_b
|
|
domain: default
|
|
description: Test project updated
|
|
enabled: false
|
|
|
|
test_group_a:
|
|
type: OS::Keystone::Group
|
|
properties:
|
|
name: test_group_a_updated
|
|
domain: default
|
|
description: Test group updated
|
|
roles:
|
|
- role: {get_resource: test_role_b}
|
|
domain: default
|
|
- role: {get_resource: test_role_b}
|
|
project: {get_resource: test_project_a}
|
|
|
|
test_group_b:
|
|
type: OS::Keystone::Group
|
|
properties:
|
|
name: test_group_b
|
|
domain: default
|
|
description: Test group
|
|
|
|
test_user_a:
|
|
type: OS::Keystone::User
|
|
properties:
|
|
name: test_user_a_updated
|
|
domain: default
|
|
description: Test user updated
|
|
enabled: false
|
|
email: xyz@abc.com
|
|
password: passWORD
|
|
default_project: {get_resource: test_project_b}
|
|
groups:
|
|
- {get_resource: test_group_b}
|
|
roles:
|
|
- role: {get_resource: test_role_b}
|
|
domain: default
|
|
- role: {get_resource: test_role_b}
|
|
project: {get_resource: test_project_a}
|
|
|
|
outputs:
|
|
test_user_a_id:
|
|
value: {get_resource: test_user_a}
|
|
test_group_a_id:
|
|
value: {get_resource: test_group_a}
|
|
test_group_b_id:
|
|
value: {get_resource: test_group_b}
|
|
test_project_a_id:
|
|
value: {get_resource: test_project_a}
|
|
test_project_b_id:
|
|
value: {get_resource: test_project_b}
|
|
test_role_a_id:
|
|
value: {get_resource: test_role_a}
|
|
test_role_b_id:
|
|
value: {get_resource: test_role_b}
|