diff --git a/CHANGELOG.md b/CHANGELOG.md index eb03f4f..a127804 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ Changelog of Git Changelog.
+
+
Enable or disable HTTP connection closing on the server side
+Enable insertion of the X-Forwarded-For header to requests sent to servers.
+Enable or disable session redistribution in case of connection failure.
+Set the number of retries to perform on a server after a connection +failure.
+Set the maximum allowed time to wait for a complete HTTP request.
+Set the maximum time to wait in the queue for a connection slot to be free.
+Set the maximum time to wait for a connection attempt to a server to +succeed.
+Set the maximum inactivity time on the client side.
+Set the maximum inactivity time on the server side.
+-56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 74 75 76 @@ -597,44 +780,83 @@ disables. 104 105 106 -107+107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135
# File 'manifests/params.pp', line 56
+ # File 'manifests/params.pp', line 74
class cd_haproxy::params (
-$pkg_ensure = 'latest',
-$reqpackages = ['haproxy'],
+$pkg_ensure = 'latest',
+$reqpackages = ['haproxy'],
-$hy_host_fqdn = "proxy.${::domain}",
+$hy_host_fqdn = "proxy.${::domain}",
# firewall
-$hy_manage_fw = true,
-$hy_fw_order_no = '50',
+$hy_manage_fw = true,
+$hy_fw_order_no = '50',
# main config
-$hy_http_port = '80',
-$hy_https_port = '443',
-$hy_chroot = '/var/lib/haproxy',
-$hy_pid = '/var/run/haproxy.pid',
-$hy_maxconn = '4000',
-$hy_show_stats = true,
-$hy_stats_socket = '/var/lib/haproxy/stats',
-$hy_default_mode = 'http',
+$hy_http_port = '80',
+$hy_https_port = '443',
+$hy_chroot = '/var/lib/haproxy',
+$hy_pid = '/var/run/haproxy.pid',
+$hy_maxconn = '4000',
+$hy_show_stats = true,
+$hy_stats_socket = '/var/lib/haproxy/stats',
+$hy_default_mode = 'http',
+$hy_use_http_server_close = true,
+$hy_use_forward_for = true,
+$hy_use_redispatch = true,
+$hy_max_retries = '3',
+$hy_timeout_http_request = '10s',
+$hy_timeout_queue = '1m',
+$hy_timeout_connect = '10s',
+$hy_timeout_client = '1m',
+$hy_timeout_server = '1m',
+$hy_timeout_http_keep_alive = '10s',
+$hy_timeout_check = '10s',
# user
-$hy_user_name = 'haproxy',
-$hy_user_comment = 'haproxy user',
-$hy_user_home = '/var/lib/haproxy',
-$hy_user_shell = '/sbin/nologin',
+$hy_user_name = 'haproxy',
+$hy_user_comment = 'haproxy user',
+$hy_user_home = '/var/lib/haproxy',
+$hy_user_shell = '/sbin/nologin',
# logging
-$hy_log_target = '127.0.0.1',
-$hy_log_facility = 'local2',
-$hy_log_default = 'global',
-$hy_use_httplog = true,
-$hy_use_dontlognull = true,
+$hy_log_target = '127.0.0.1',
+$hy_log_facility = 'local2',
+$hy_log_default = 'global',
+$hy_use_httplog = true,
+$hy_use_dontlognull = true,
) {
@@ -648,7 +870,6 @@ $hy_main_dir = '/etc/haproxy'
$hy_main_config = "${hy_main_dir}/haproxy.cfg"
$hy_config_head_erb = 'cd_haproxy/haproxy_head.erb'
-
# includes must be last
include cd_haproxy::main::config