From a45c69cdc6b7a8dd05e905247a9f68a30d0469c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Sun, 19 Jan 2014 20:41:19 +0100 Subject: [PATCH] haproxy httpchk is HTTP only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I remove the “httpchk” options since it cannot be used if mode=tcp. haproxy will still print a big fat warning saying, mode=tcp with stats enabled is not possible. But it will starts. --- manifests/loadbalancer.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index 537b93f7..85a0c88b 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -271,7 +271,7 @@ monitor fail if horizon_dead options => { 'mode' => 'tcp', 'balance' => 'roundrobin', - 'option' => ['tcpka', 'tcplog', 'httpchk'], #httpchk mandatory expect 200 on port 9000 + 'option' => ['tcpka', 'tcplog'], 'timeout client' => '400s', 'timeout server' => '400s', }