Changed the number of compute nodes to no longer be
hard coded to 1 and now calculate to be total_nodes -1
for non-HA deployments.
Rebased to new build.
Change-Id: I8dc135876a8b436714806b79d4193d225761534d
Signed-off-by: randyl <r.levensalor@cablelabs.com>
compute_nodes=$((total_nodes - 3))
DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml"
else
- compute_nodes=1
+ compute_nodes=$((total_nodes - 1))
fi
if [ "$compute_nodes" -le 0 ]; then