1 heat_template_version: pike
4 Pacemaker remote service configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
33 PacemakerRemoteAuthkey:
35 description: The authkey for the pacemaker remote service.
40 description: The password for the 'pcsd' user for pacemaker.
43 MonitoringSubscriptionPacemakerRemote:
44 default: 'overcloud-pacemaker_remote'
48 description: Whether to enable fencing in Pacemaker or not.
53 Pacemaker fencing configuration. The JSON should have
54 the following structure:
58 "agent": "AGENT_NAME",
59 "host_mac": "HOST_MAC_ADDRESS",
60 "params": {"PARAM_NAME": "PARAM_VALUE"}
69 "host_mac": "52:54:00:aa:bb:cc",
71 "multicast_address": "225.0.0.12",
72 "port": "baremetal_0",
74 "manage_key_file": true,
75 "key_file": "/etc/fence_xvm.key",
76 "key_file_password": "abcdef"
82 PacemakerRemoteLoggingSource:
85 tag: system.pacemaker_remote
86 path: /var/log/pacemaker.log
88 /^(?<time>[^ ]*\s*[^ ]* [^ ]*)
95 description: Role data for the Pacemaker remote role.
97 service_name: pacemaker_remote
98 monitoring_subscription: {get_param: MonitoringSubscriptionPacemakerRemote}
101 logging_source: {get_param: PacemakerRemoteLoggingSource}
103 tripleo.pacemaker_remote.firewall_rules:
104 '130 pacemaker_remote tcp':
108 tripleo::fencing::config: {get_param: FencingConfig}
109 enable_fencing: {get_param: EnableFencing}
110 tripleo::profile::base::pacemaker_remote::remote_authkey: {get_param: PacemakerRemoteAuthkey}
111 pacemaker::corosync::manage_fw: false
114 expression: $.data.passwords.where($ != '').first()
117 - {get_param: PcsdPassword}
118 - {get_param: [DefaultPasswords, pcsd_password]}
120 include ::tripleo::profile::base::pacemaker_remote