Remove httpchk option from haproxy listeners
authorGiulio Fidente <gfidente@redhat.com>
Thu, 2 Jul 2015 09:31:18 +0000 (11:31 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 7 Aug 2015 13:45:51 +0000 (15:45 +0200)
commitc529fce3ef2f246909cb821bc2319cc5413960d3
tree8e61f7171b8f477b74f954f0386d210698a2ec5d
parent4ba15f8918ea34a2de49f68ab66229d5c30adaf9
Remove httpchk option from haproxy listeners

To make sure we don't use the ssl-hello-chk option set by the
puppet-haproxy module we used to redefine the listener options
for all listeners.

With this change a default for the options hash is provided to
the puppet class instead.

This change also configures use of tcpka only where wanted, as
documented by [1], removing it from the haproxy defaults section,
given it wasn't used anyway by the other listeners which were
indeed overriding options.

1. https://github.com/beekhof/osp-ha-deploy/blob/master/pcmk/lb.scenario

Change-Id: Ic8deb77533f561cea7ce7db1d20f6be5e2dc0d33
manifests/loadbalancer.pp