lb/horizon: fix Horizon Binding

In previous HA refacto, we introduced a bug in Horizon binding. This
patch fix it.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-05-05 12:58:36 +02:00
parent bd716d1fe1
commit edc22c538a

View File

@@ -361,7 +361,7 @@ class cloud::loadbalancer(
}
cloud::loadbalancer::listen_http{ 'horizon_cluster':
ports => $horizon_port,
httpchk => "httpchk GET /${horizon_auth_url} \"HTTP/1.0\r\nUser-Agent: HAproxy-${::hostname}\"",
httpchk => "httpchk GET /${horizon_auth_url} \"HTTP/1.0\\r\\nUser-Agent: HAproxy-${::hostname}\"",
options => {
'cookie' => 'sessionid prefix',
'balance' => 'leastconn' },