recommit for updates in build 159

This commit is contained in:
Jenkins ConfDroid
2025-01-28 17:24:35 +01:00
parent 2078be21c7
commit 072be172c8

View File

@@ -256,7 +256,7 @@ correct lb instance configuration.</p>
<span class='type'>(<tt>string</tt>)</span> <span class='type'>(<tt>string</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em> <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
&mdash; &mdash;
@@ -311,7 +311,7 @@ instance configuration.</p>
<span class='type'>(<tt>string</tt>)</span> <span class='type'>(<tt>string</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em> <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
&mdash; &mdash;
@@ -421,34 +421,48 @@ instance configuration.</p>
75 75
76 76
77 77
78</pre> 78
79
80
81
82
83
84
85</pre>
</td> </td>
<td> <td>
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 41</span> <pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 41</span>
define cd_haproxy::server::proxy ( define cd_haproxy::server::proxy (
$haproxy_fqdn = undef, $haproxy_fqdn = undef,
$frontend_name = undef, $frontend_name = undef,
$frontend_mode = undef, $frontend_mode = undef,
$fe_use_backend = &#39;&#39;, $fe_use_backend = &#39;&#39;,
$fe_bind_mode = undef, $fe_bind_mode = undef,
$frontend_order = &#39;010&#39;, $frontend_order = &#39;010&#39;,
$acl_rule_front = &#39;&#39;, $acl_rule_front = &#39;&#39;,
$acl_rule_back = &#39;&#39;, $acl_rule_back = &#39;&#39;,
$backend_name = undef, $backend_name = &#39;&#39;,
$backend_order = &#39;030&#39;, $backend_order = &#39;030&#39;,
$fe_maxconn = &#39;&#39;, $fe_maxconn = &#39;&#39;,
$be_server_name = undef, $be_server_name = &#39;&#39;,
$be_balance = &#39;&#39;, $be_balance = &#39;&#39;,
$be_mode = &#39;&#39;, $be_mode = &#39;&#39;,
) { ) {
$hy_main_config = &#39;/etc/haproxy/haproxy.cfg&#39; $hy_main_config = &#39;/etc/haproxy/haproxy.cfg&#39;
$hy_frontendrule = &#39;cd_haproxy/haproxy_frontend_rule.erb&#39; $hy_frontendrule = &#39;cd_haproxy/haproxy_frontend_rule.erb&#39;
$hy_backendrule = &#39;cd_haproxy/haproxy_backend_rule.erb&#39; $hy_backendrule = &#39;cd_haproxy/haproxy_backend_rule.erb&#39;
$hy_acl_rule = &#39;cd_haproxy/haproxy_acl_rule.erb&#39; $hy_acl_rule = &#39;cd_haproxy/haproxy_acl_rule.erb&#39;
# Ensure acl_rule_front and acl_rule_back are arrays
$acl_rule_front_array = split($acl_rule_front, &#39;|&#39;)
$acl_rule_back_array = split($acl_rule_back, &#39;|&#39;)
$backend_name_array = split($backend_name, &#39;|&#39;)
$be_server_name_array = split($be_server_name, &#39;|&#39;)
# create frontend section # create frontend section
concat::fragment { &quot;frontend_${name}&quot;: concat::fragment { &quot;frontend_${name}&quot;: