Only restart haproxy services when enable_load_balancer is defined
authorMichele Baldessari <michele@acksyn.org>
Tue, 25 Oct 2016 12:36:56 +0000 (14:36 +0200)
committerMichele Baldessari <michele@acksyn.org>
Tue, 25 Oct 2016 14:23:04 +0000 (16:23 +0200)
commitcf4166ff5defb90acd7ffa4d3df3dda606cbd1ec
tree70fdf41dcb17c7608321f337288a5fdc77c6a7a0
parent0b9c8fb56ae508aafca7219bfaff6e75afdfa9c2
Only restart haproxy services when enable_load_balancer is defined

If we upgrade a cloud that was configured with external load balancer
the process will fail during convergence step because it will try to
restart haproxy which is not configured when an external load balancer
is configured.

Closes-Bug: #1636527

Change-Id: I6f6caec3e5c96e77437c1c83e625f39649a66c48
manifests/profile/pacemaker/haproxy.pp