recommit for updates in build 23

This commit is contained in:
Jenkins ConfDroid
2018-12-30 15:19:18 +01:00
parent 75f872d025
commit c58c8aa1d5
4 changed files with 49 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
<p>CONFIGURATION * manage haproxy user * manage directories (file system
permissions, selinux context) * manage files (file system permissions,
content, selinux context)</p>
content, selinux context) * manage proxy instances through a define</p>
<p>SERVICE * manage haproxy service</p>
@@ -191,6 +191,23 @@ should be running. The module will install it only on the host in question.</p>
<h4 id="label-Optional+Parameters">Optional Parameters</h4>
<h3 id="label-Proxy+Configuration">Proxy Configuration</h3>
<p>The proxy instances are configured in /etc/haproxy/haproxy.cfg, which is
concatenated from various templates through a define in this puppet module.
In order to create proxy instances, you will need an external class, which
addresses the define, like so:</p>
<pre class="code ruby"><code class="ruby">cd_haproxy::server::proxy { &#39;testing&#39;:
frontend_name =&gt; &#39;test01-frontend&#39;,
acl_rule =&gt; &#39;test01-acl&#39;,
backend_name =&gt; &#39;test01-backend&#39;,
}</code></pre>
<p>This allows the puppet module to create the sections in the configuration
file as required. The haproxy service will be restarted after the changes
in the configuration file are made.</p>
<h3 id="label-SELINUX">SELINUX</h3>
<p>All files and directories are configured with correct selinux context. If

View File

@@ -127,7 +127,7 @@ href="https://gitlab.confdroid.com/12WW1160/cd_haproxy/blob/master/CHANGELOG.md"
<p>CONFIGURATION * manage haproxy user * manage directories (file system
permissions, selinux context) * manage files (file system permissions,
content, selinux context)</p>
content, selinux context) * manage proxy instances through a define</p>
<p>SERVICE * manage haproxy service</p>
@@ -191,6 +191,23 @@ should be running. The module will install it only on the host in question.</p>
<h4 id="label-Optional+Parameters">Optional Parameters</h4>
<h3 id="label-Proxy+Configuration">Proxy Configuration</h3>
<p>The proxy instances are configured in /etc/haproxy/haproxy.cfg, which is
concatenated from various templates through a define in this puppet module.
In order to create proxy instances, you will need an external class, which
addresses the define, like so:</p>
<pre class="code ruby"><code class="ruby">cd_haproxy::server::proxy { &#39;testing&#39;:
frontend_name =&gt; &#39;test01-frontend&#39;,
acl_rule =&gt; &#39;test01-acl&#39;,
backend_name =&gt; &#39;test01-backend&#39;,
}</code></pre>
<p>This allows the puppet module to create the sections in the configuration
file as required. The haproxy service will be restarted after the changes
in the configuration file are made.</p>
<h3 id="label-SELINUX">SELINUX</h3>
<p>All files and directories are configured with correct selinux context. If

View File

@@ -131,7 +131,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
35
36
37
38</pre>
38
39</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
@@ -149,6 +150,7 @@ class cd_haproxy::server::service (
hasstatus =&gt; true,
hasrestart =&gt; true,
enable =&gt; true,
subscribe =&gt; $hy_main_config,
}
}
}</pre>