Merge "Use docker-cmd hook."
[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   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   MysqlVirtualIPUri:
13     type: string
14     default: ''
15
16 resources:
17   HeatApiCfnBase:
18     type: ../heat-api-cfn.yaml
19     properties:
20       EndpointMap: {get_param: EndpointMap}
21       MysqlVirtualIPUri: {get_param: MysqlVirtualIPUri}
22
23 outputs:
24   role_data:
25     description: Role data for the Heat CloudFormation API role.
26     value:
27       config_settings:
28         map_merge:
29           - get_attr: [HeatApiCfnBase, role_data, config_settings]
30           - heat::api_cfn::manage_service: false
31             heat::api_cfn::enabled: false
32       step_config:
33         # No puppet manifests since heat-api-cfn is included in
34         # ::tripleo::profile::pacemaker::heat which is maintained alongside of
35         # pacemaker/heat-api.yaml.