31d9bea57ea2db1c8045440a2d8458bf644a6674
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / sahara-engine.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Sahara Engine service with Pacemaker 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
13 resources:
14
15   SaharaEngineBase:
16     type: ../sahara-engine.yaml
17     properties:
18       EndpointMap: {get_param: EndpointMap}
19
20 outputs:
21   role_data:
22     description: Role data for the Sahara Engine role.
23     value:
24       service_name: sahara-engine
25       config_settings:
26         map_merge:
27           - get_attr: [SaharaEngineBase, role_data, config_settings]
28           - sahara::service::engine::manage_service: false
29             sahara::service::engine::enabled: false
30       # No puppet manifests since sahara-engine is included in
31       # ::tripleo::profile::pacemaker::sahara which is maintained alongside of
32       # pacemaker/sahara-api.yaml.
33       step_config: