Merge "Add integration with Manila CephFS Native driver"
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / heat-api-cfn.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Heat CloudFormation API service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21
22 resources:
23   HeatApiCfnBase:
24     type: ../heat-api-cfn.yaml
25     properties:
26       ServiceNetMap: {get_param: ServiceNetMap}
27       DefaultPasswords: {get_param: DefaultPasswords}
28       EndpointMap: {get_param: EndpointMap}
29
30 outputs:
31   role_data:
32     description: Role data for the Heat CloudFormation API role.
33     value:
34       service_name: heat_api_cfn
35       monitoring_subscription: {get_attr: [HeatApiCfnBase, role_data, monitoring_subscription]}
36       logging_source: {get_attr: [HeatApiCfnBase, role_data, logging_source]}
37       logging_groups: {get_attr: [HeatApiCfnBase, role_data, logging_groups]}
38       config_settings:
39         map_merge:
40           - get_attr: [HeatApiCfnBase, role_data, config_settings]
41           - heat::api_cfn::manage_service: false
42             heat::api_cfn::enabled: false
43       step_config: |
44         include ::tripleo::profile::pacemaker::heat::api_cfn