Merge "Increase galera sync timeout in yum_update.sh"
[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   MysqlVirtualIPUri:
19     default: ''
20     type: string
21     description: The URI virtual IP for the MySQL service.
22
23 resources:
24
25   ServiceChain:
26     type: OS::Heat::ResourceChain
27     properties:
28       resources: {get_param: Services}
29       concurrent: true
30       resource_properties:
31         EndpointMap: {get_param: EndpointMap}
32         MysqlVirtualIPUri: {get_param: MysqlVirtualIPUri}
33
34 outputs:
35   config_settings:
36     description: Configuration settings.
37     value: {map_merge: {get_attr: [ServiceChain, role_data, config_settings]}}
38   step_config:
39     description: Step configuration.
40     value: {list_join: ["\n", {get_attr: [ServiceChain, role_data, step_config]}]}