Files
heat-templates/hot/keystone/keystone.yaml
T
Adrien Vergé 2a2fe91602 Fix linting errors in YAML
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
2016-03-11 14:57:38 +01:00

58 lines
1.4 KiB
YAML

heat_template_version: 2013-05-23
description: Sample Keystone template
resources:
test_role_a:
type: OS::Keystone::Role
properties:
name: test_role_a
test_project_a:
type: OS::Keystone::Project
properties:
name: test_project_a
domain: default
description: Test project
enabled: true
test_group_a:
type: OS::Keystone::Group
properties:
name: test_group_a
domain: default
description: Test group
roles:
- role: {get_resource: test_role_a}
domain: default
- role: {get_resource: test_role_a}
project: {get_resource: test_project_a}
test_user_a:
type: OS::Keystone::User
properties:
name: test_user_a
domain: default
description: Test user
enabled: true
email: abc@xyz.com
password: password
default_project: {get_resource: test_project_a}
groups:
- {get_resource: test_group_a}
roles:
- role: {get_resource: test_role_a}
domain: default
- role: {get_resource: test_role_a}
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_project_a_id:
value: {get_resource: test_project_a}
test_role_a_id:
value: {get_resource: test_role_a}