a0a766ecc947fd88df0a1e4def57a383f8782362
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / nova-conductor.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Nova Conductor service with Pacemaker 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
24   NovaConductorBase:
25     type: ../nova-conductor.yaml
26     properties:
27       ServiceNetMap: {get_param: ServiceNetMap}
28       DefaultPasswords: {get_param: DefaultPasswords}
29       EndpointMap: {get_param: EndpointMap}
30
31 outputs:
32   role_data:
33     description: Role data for the Nova Conductor role.
34     value:
35       service_name: nova_conductor
36       monitoring_subscription: {get_attr: [NovaConductorBase, role_data, monitoring_subscription]}
37       logging_source: {get_attr: [NovaConductorBase, role_data, logging_source]}
38       logging_groups: {get_attr: [NovaConductorBase, role_data, logging_groups]}
39       config_settings:
40         map_merge:
41           - get_attr: [NovaConductorBase, role_data, config_settings]
42           - nova::conductor::manage_service: false
43             nova::conductor::enabled: false
44       step_config: |
45         include ::tripleo::profile::pacemaker::nova::conductor