Reload HAProxy on refresh
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Tue, 23 Aug 2016 08:37:28 +0000 (11:37 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 29 Aug 2016 13:59:18 +0000 (16:59 +0300)
commitd30e9bcc067c432fe93519dc5971ea98866a10cb
treec6b9ed663f614b533ef0f78c9453382e9f943aa5
parentcfe8fb0e00dfbf3fc2b1a3c68d44d8c4e5520b4b
Reload HAProxy on refresh

If the configuration for the HAProxy class or any of the frontend
endpoints has changed, we explicitly execute a reload on HA setups.
This is useful since on updates of HA setups we set pacemaker on
maintenance mode, and thus we are unable to refresh HAProxy's
configuration; The aforementioned detail is problematic, since some
puppet configurations rely on HAProxy taking into account the
configuration.  An example of this is changing a port in the endpoint
map or enabling SSL.

Change-Id: I7f26257fb43146afebca928f5498ee2174178063
manifests/profile/base/haproxy.pp