recommit for updates in build 20
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ Changelog of Git Changelog.
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/091d948219e7b0a">091d948219e7b0a</a> Jenkins ConfDroid <i>2018-12-29 18:55:18</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 19</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/e91d4d6808c3f08">e91d4d6808c3f08</a> Arne Teuke <i>2018-12-29 18:54:41</i>
|
||||
<p>
|
||||
<h3>adding backend template for testing</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.confdroid.com/12WW1160/git-changelog-lib/commit/2222c8139395f02">2222c8139395f02</a> Jenkins ConfDroid <i>2018-12-29 18:47:43</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 18</h3>
|
||||
|
||||
@@ -140,9 +140,9 @@ class cd_haproxy::server::proxy_test (
|
||||
|
||||
cd_haproxy::server::proxy { 'testing':
|
||||
frontend_name => 'test01-frontend',
|
||||
acl_rule => 'test01-acl',
|
||||
backend_name => 'test01-backend',
|
||||
}
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -141,6 +141,32 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
<p>the order where the concet should appear in the file.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>acl_rule</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>acl_order</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'20'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@@ -164,7 +190,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'020'</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'030'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
@@ -206,7 +232,15 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
50
|
||||
51
|
||||
52
|
||||
53</pre>
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 26</span>
|
||||
@@ -215,14 +249,17 @@ define cd_haproxy::server::proxy (
|
||||
|
||||
$frontend_name = undef,
|
||||
$frontend_order = '010',
|
||||
$acl_rule = undef,
|
||||
$acl_order = '20',
|
||||
$backend_name = undef,
|
||||
$backend_order = '020',
|
||||
$backend_order = '030',
|
||||
|
||||
) {
|
||||
|
||||
$hy_main_config = '/etc/haproxy/haproxy.cfg'
|
||||
$hy_frontendrule = 'cd_haproxy/haproxy_frontend_rule.erb'
|
||||
$hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
|
||||
$hy_acl_rule = 'cd_haproxy/haproxy_acl_rule.erb'
|
||||
|
||||
# create frontend section
|
||||
concat::fragment { "frontend_${name}":
|
||||
@@ -231,13 +268,18 @@ $hy_backendrule = 'cd_haproxy/haproxy_backend_rule.erb'
|
||||
order => $frontend_order,
|
||||
}
|
||||
|
||||
# create acl section
|
||||
concat::fragment { "acl_${name}":
|
||||
target => $hy_main_config,
|
||||
content => template($hy_acl_rule),
|
||||
}
|
||||
|
||||
# create backend section
|
||||
concat::fragment { "backend_${name}":
|
||||
target => $hy_main_config,
|
||||
content => template($hy_backendrule),
|
||||
order => $backend_order,
|
||||
}
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user