Merge "Change CloudName default value to include domain"
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Pacemaker 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   MonitoringSubscriptionPacemaker:
22     default: 'overcloud-pacemaker'
23     type: string
24
25 outputs:
26   role_data:
27     description: Role data for the Pacemaker role.
28     value:
29       service_name: pacemaker
30       monitoring_subscription: {get_param: MonitoringSubscriptionPacemaker}
31       config_settings:
32         pacemaker::corosync::cluster_name: 'tripleo_cluster'
33         pacemaker::corosync::manage_fw: false
34         pacemaker::resource_defaults::defaults:
35           resource-stickiness: { value: INFINITY }
36         corosync_token_timeout: 10000
37         tripleo.pacemaker.firewall_rules:
38           '130 pacemaker tcp':
39             proto: 'tcp'
40             dport:
41               - 2224
42               - 3121
43               - 21064
44           '131 pacemaker udp':
45             proto: 'udp'
46             dport: 5405
47       step_config: |
48         include ::tripleo::profile::base::pacemaker