recommit for updates in build 23
This commit is contained in:
@@ -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 { 'testing':
|
||||
frontend_name => 'test01-frontend',
|
||||
acl_rule => 'test01-acl',
|
||||
backend_name => 'test01-backend',
|
||||
}</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
|
||||
|
||||
Reference in New Issue
Block a user