Merge "Set rabbitmq loopback_users explicitely"
[apex-tripleo-heat-templates.git] / puppet / services / services.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Utility stack to convert an array of services into a set of combined
5   role configs.
6
7 parameters:
8   Services:
9     default: []
10     description: |
11         List nested stack service templates.
12     type: comma_delimited_list
13   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18
19 resources:
20
21   ServiceChain:
22     type: OS::Heat::ResourceChain
23     properties:
24       resources: {get_param: Services}
25       concurrent: true
26       resource_properties:
27         EndpointMap: {get_param: EndpointMap}
28
29 outputs:
30   config_settings:
31     description: Configuration settings.
32     value: {map_merge: {get_attr: [ServiceChain, role_data, config_settings]}}
33   step_config:
34     description: Step configuration.
35     value: {list_join: ["\n", {get_attr: [ServiceChain, role_data, step_config]}]}