diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-12-17 10:20:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-12-17 10:20:03 +0000 |
commit | dde57d6fe717e38c253223a0244f52e2c72f661c (patch) | |
tree | 2f2ee15d611b53c6bc55f950e41570f6de11a974 | |
parent | d7e457b8af855b2ecc08d94776532660ef56b736 (diff) | |
parent | 5713311003b443210b0b431c594484dc00b5258b (diff) |
Merge "Allows customization of the HAProxy default timeouts"
-rw-r--r-- | manifests/loadbalancer.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/loadbalancer.pp b/manifests/loadbalancer.pp index 6306f61..37c8c66 100644 --- a/manifests/loadbalancer.pp +++ b/manifests/loadbalancer.pp @@ -35,6 +35,10 @@ # The value to use as maxconn in the haproxy default config section. # Defaults to 4096 # +# [*haproxy_default_timeout*] +# The value to use as timeout in the haproxy default config section. +# Defaults to [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ] +# # [*haproxy_log_address*] # The IPv4, IPv6 or filesystem socket path of the syslog server. # Defaults to '/dev/log' @@ -263,6 +267,7 @@ class tripleo::loadbalancer ( $haproxy_service_manage = true, $haproxy_global_maxconn = 20480, $haproxy_default_maxconn = 4096, + $haproxy_default_timeout = [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ], $haproxy_log_address = '/dev/log', $controller_host = undef, $controller_hosts = undef, @@ -680,7 +685,7 @@ class tripleo::loadbalancer ( 'mode' => 'tcp', 'log' => 'global', 'retries' => '3', - 'timeout' => [ 'http-request 10s', 'queue 1m', 'connect 10s', 'client 1m', 'server 1m', 'check 10s' ], + 'timeout' => $haproxy_default_timeout, 'maxconn' => $haproxy_default_maxconn, }, } |