recommit for updates in build 209

This commit is contained in:
Jenkins ConfDroid
2025-02-08 15:02:30 +01:00
parent 65943a0fb1
commit 89a03cf5ac

View File

@@ -508,13 +508,7 @@ instance configuration.</p>
87
88
89
90
91
92
93
94
95
96</pre>
90</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 24</span>
@@ -570,19 +564,13 @@ define cd_haproxy::server::proxy (
order =&gt; $frontend_order,
}
# Flag to ensure backends are only created once
$backends_created = false
# Ensure backends are only created once
ensure_resource(&#39;concat::fragment&#39;, &quot;backends_${name}&quot;, {
&#39;target&#39; =&gt; $hy_main_config,
&#39;content&#39; =&gt; template($hy_backendrule),
&#39;order&#39; =&gt; $backend_order,
})
unless $backends_created {
$backend_configs.each |$index, $backend_config| {
concat::fragment { &quot;backend_${name}_${index}&quot;:
target =&gt; $hy_main_config,
content =&gt; template($hy_backendrule),
order =&gt; &quot;${backend_order}${index}&quot;,
}
}
$backends_created = true
}
# # create backend section
# concat::fragment { &quot;backend_${name}&quot;: