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 87
88 88
89 89
90 90</pre>
91
92
93
94
95
96</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>
@@ -570,19 +564,13 @@ define cd_haproxy::server::proxy (
order =&gt; $frontend_order, order =&gt; $frontend_order,
} }
# Flag to ensure backends are only created once # Ensure backends are only created once
$backends_created = false 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 # # create backend section
# concat::fragment { &quot;backend_${name}&quot;: # concat::fragment { &quot;backend_${name}&quot;: