1 heat_template_version: 2016-10-14
4 Utility stack to convert an array of services into a set of combined
11 List nested stack service templates.
12 type: comma_delimited_list
15 description: Mapping of service_name -> network name. Typically set
16 via parameter_defaults in the resource registry. This
17 mapping overrides those in ServiceNetMapDefaults.
21 description: Mapping of service endpoint -> protocol. Typically set
22 via parameter_defaults in the resource registry.
26 description: Mapping of service -> default password. Used to help
27 pass top level passwords managed by Heat into services.
33 type: OS::Heat::ResourceChain
35 resources: {get_param: Services}
38 ServiceNetMap: {get_param: ServiceNetMap}
39 EndpointMap: {get_param: EndpointMap}
40 DefaultPasswords: {get_param: DefaultPasswords}
44 description: Combined Role data for this set of services.
47 # Filter any null/None service_names which may be present due to mapping
48 # of services to OS::Heat::None
50 expression: list($.data.s_names.where($ != null))
51 data: {s_names: {get_attr: [ServiceChain, role_data, service_name]}}
52 monitoring_subscriptions:
54 expression: list($.data.subscriptions.where($ != null))
55 data: {subscriptions: {get_attr: [ServiceChain, role_data, monitoring_subscription]}}
56 config_settings: {map_merge: {get_attr: [ServiceChain, role_data, config_settings]}}
57 global_config_settings:
60 expression: list($.data.configs.where($ != null))
61 data: {configs: {get_attr: [ServiceChain, role_data, global_config_settings]}}
62 step_config: {list_join: ["\n", {get_attr: [ServiceChain, role_data, step_config]}]}