loadbalancer: fix Redis timeout HAproxy config
authorJason Guiditta <jguiditt@redhat.com>
Thu, 25 Feb 2016 15:27:26 +0000 (10:27 -0500)
committerJason Guiditta <jguiditt@redhat.com>
Thu, 25 Feb 2016 15:27:26 +0000 (10:27 -0500)
commit6e4870915281c80176ea08584f337099e60e2b2d
treeaf5b2bd4b4c812d493ed39184ca7ea869a1ffa9f
parent5f915a88e7c4eec6e6a0341808f0fbc4a4b1a161
loadbalancer: fix Redis timeout HAproxy config

Current HAproxy config is broken for Redis timeout parameters. This is what we
have today by default in HAproxy logs:
[WARNING] 238/115010 (13878) : config : missing timeouts for proxy 'redis'.
| While not properly invalid, you will certainly encounter various problems
| with such a configuration. To fix this, please ensure that all following
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.

This patch removes the explicit setting of client and server timeouts to 0,
which is the cause of the above warning.  Instead, Redis will simply inherit the
haproxy defaults, which should be a more reasonable setting, and result in no
warnings.

Change-Id: Ibe7941bec02f5facf21732910c9ad96f547ff8e5
manifests/loadbalancer.pp