recommit for updates in build 214
This commit is contained in:
@@ -442,7 +442,7 @@ rsyslog forwarding supported.</p>
|
|||||||
<span class='type'>(<tt>string</tt>)</span>
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'http'</tt>)</em>
|
<em class="default">(defaults to: <tt>'tcp'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -553,7 +553,7 @@ disables.</p>
|
|||||||
<span class='type'>(<tt>boolean</tt>)</span>
|
<span class='type'>(<tt>boolean</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>false</tt>)</em>
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -626,7 +626,7 @@ failure.</p>
|
|||||||
<span class='type'>(<tt>string</tt>)</span>
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'10s'</tt>)</em>
|
<em class="default">(defaults to: <tt>'5000'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -645,7 +645,7 @@ succeed.</p>
|
|||||||
<span class='type'>(<tt>string</tt>)</span>
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'1m'</tt>)</em>
|
<em class="default">(defaults to: <tt>'50000'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -663,7 +663,7 @@ succeed.</p>
|
|||||||
<span class='type'>(<tt>string</tt>)</span>
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'1m'</tt>)</em>
|
<em class="default">(defaults to: <tt>'50000'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -709,6 +709,45 @@ succeed.</p>
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>hy_log_local0</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>Any</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>hy_log_local1</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>Any</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>hy_use_tcplog</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>Any</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -797,7 +836,11 @@ succeed.</p>
|
|||||||
132
|
132
|
||||||
133
|
133
|
||||||
134
|
134
|
||||||
135</pre>
|
135
|
||||||
|
136
|
||||||
|
137
|
||||||
|
138
|
||||||
|
139</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 58</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 58</span>
|
||||||
@@ -821,16 +864,16 @@ $hy_pid = '/var/run/haproxy.pid',
|
|||||||
$hy_maxconn = '4000',
|
$hy_maxconn = '4000',
|
||||||
$hy_show_stats = true,
|
$hy_show_stats = true,
|
||||||
$hy_stats_socket = '/var/lib/haproxy/stats',
|
$hy_stats_socket = '/var/lib/haproxy/stats',
|
||||||
$hy_default_mode = 'http',
|
$hy_default_mode = 'tcp',
|
||||||
$hy_use_http_server_close = false,
|
$hy_use_http_server_close = false,
|
||||||
$hy_use_forward_for = false,
|
$hy_use_forward_for = false,
|
||||||
$hy_use_redispatch = false,
|
$hy_use_redispatch = true,
|
||||||
$hy_max_retries = '3',
|
$hy_max_retries = '3',
|
||||||
$hy_timeout_http_request = '10s',
|
$hy_timeout_http_request = '10s',
|
||||||
$hy_timeout_queue = '1m',
|
$hy_timeout_queue = '1m',
|
||||||
$hy_timeout_connect = '10s',
|
$hy_timeout_connect = '5000',
|
||||||
$hy_timeout_client = '1m',
|
$hy_timeout_client = '50000',
|
||||||
$hy_timeout_server = '1m',
|
$hy_timeout_server = '50000',
|
||||||
$hy_timeout_http_keep_alive = '10s',
|
$hy_timeout_http_keep_alive = '10s',
|
||||||
$hy_timeout_check = '10s',
|
$hy_timeout_check = '10s',
|
||||||
|
|
||||||
@@ -841,12 +884,16 @@ $hy_user_home = '/var/lib/haproxy',
|
|||||||
$hy_user_shell = '/sbin/nologin',
|
$hy_user_shell = '/sbin/nologin',
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
|
$hy_log_local0 = true,
|
||||||
|
$hy_log_local1 = true,
|
||||||
$hy_log_target = '127.0.0.1',
|
$hy_log_target = '127.0.0.1',
|
||||||
$hy_log_facility = 'local2',
|
$hy_log_facility = 'local2',
|
||||||
$hy_log_default = 'global',
|
$hy_log_default = 'global',
|
||||||
|
$hy_use_tcplog = true,
|
||||||
$hy_use_httplog = false,
|
$hy_use_httplog = false,
|
||||||
$hy_use_dontlognull = true,
|
$hy_use_dontlognull = true,
|
||||||
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# service
|
# service
|
||||||
|
|||||||
@@ -502,13 +502,7 @@ instance configuration.</p>
|
|||||||
81
|
81
|
||||||
82
|
82
|
||||||
83
|
83
|
||||||
84
|
84</pre>
|
||||||
85
|
|
||||||
86
|
|
||||||
87
|
|
||||||
88
|
|
||||||
89
|
|
||||||
90</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 24</span>
|
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 24</span>
|
||||||
@@ -536,7 +530,6 @@ define cd_haproxy::server::proxy (
|
|||||||
$fe_http_request = '',
|
$fe_http_request = '',
|
||||||
$backend_configs = [],
|
$backend_configs = [],
|
||||||
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$hy_main_config = '/etc/haproxy/haproxy.cfg'
|
$hy_main_config = '/etc/haproxy/haproxy.cfg'
|
||||||
@@ -571,13 +564,8 @@ define cd_haproxy::server::proxy (
|
|||||||
'order' => $backend_order,
|
'order' => $backend_order,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# open sepcific firewall ports
|
||||||
|
|
||||||
# # create backend section
|
|
||||||
# concat::fragment { "backend_${name}":
|
|
||||||
# target => $hy_main_config,
|
|
||||||
# content => template($hy_backendrule),
|
|
||||||
# order => $backend_order,
|
|
||||||
# }
|
|
||||||
|
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user