1 heat_template_version: 2014-10-16
2 description: 'Pre-Puppet Config for Pacemaker deployments'
9 description: input values for the software deployments
13 ControllerPrePuppetMaintenanceModeConfig:
14 type: OS::Heat::SoftwareConfig
19 pacemaker_status=$(systemctl is-active pacemaker)
21 if [ "$pacemaker_status" = "active" ]; then
22 pcs property set maintenance-mode=true
25 ControllerPrePuppetMaintenanceModeDeployment:
26 type: OS::Heat::SoftwareDeployments
28 servers: {get_param: servers}
29 config: {get_resource: ControllerPrePuppetMaintenanceModeConfig}
30 input_values: {get_param: input_values}