Reload haproxy if any configuration changes on HA
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 26 Oct 2016 16:38:55 +0000 (19:38 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 26 Oct 2016 16:38:55 +0000 (19:38 +0300)
commitc01acb0c4930ecbef7de1ed876afa6120fe2ee35
tree83df5b56939a575dc36930e6de94c12557c57163
parent88c44f9f24d0247e0f263c1a7eb6f425afcfcc4c
Reload haproxy if any configuration changes on HA

In some cases, for instance, when updating from a non-SSL setup in
HAProxy to an SSL setup, we don't reload haproxy's configuration.
This is problematic since we need HAProxy to serve the certificates
and the new endpoints.

This forces the reload when puppet notices changes.

Change-Id: Ie1dd809e6beef33fadad48de55e488219fb7d686
Closes-Bug: #1636921
manifests/profile/base/haproxy.pp