reload HAProxy config in HA setups when certificate is updated
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 3 Oct 2016 13:56:21 +0000 (16:56 +0300)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Mon, 3 Oct 2016 15:20:29 +0000 (18:20 +0300)
commitb74b6793d28beb67d63eb1eafa9ed36ed4e92335
tree3a9a55639a47e341a25ce6443a772cd7097b2a7d
parent935fbd6febc7e58257a3d252354011b00cac1a97
reload HAProxy config in HA setups when certificate is updated

When updating a certificate for HAProxy, we only do a reload of the
configuration on non-HA setups. This means that if we try the same in
an HA setup, the cloud will still serve the old certificate and that
leads to several issues, such as serving a revoked or even a
compromised certificate for some time, or just SSL issues that the
certificate doesn't match. This enables a reload for HA cases too.

Change-Id: Ib8ca2fe91be345ef4324fc8265c45df8108add7a
Closes-Bug: #1629886
puppet/extraconfig/tls/tls-cert-inject.yaml