Consolidate use of $pacemaker_master in step 2
Consolidate use of $pacemaker_master in step 2

Aims at having the Pacemaker resources configuration happening
in a single if condition.

Change-Id: I497538510f80a356e876d476024671b787b77fc9

dprince/tripleo-heat-templates,wyg3958/tripleo-heat-templates,openstack/tripleo-heat-templates,openstack/tripleo-heat-templates,bcrochet/tripleo-heat-templates,trozet/tripleo-heat-templates,wyg3958/tripleo-heat-templates,rdo-management/tripleo-heat-templates,dprince/tripleo-heat-templates,trozet/opnfv-tht,bcrochet/tripleo-heat-templates,trozet/opnfv-tht,trozet/tripleo-heat-templates,bcrochet/tripleo-heat-templates,trozet/opnfv-tht,rdo-management/tripleo-heat-templates