recommit for updates in build 13

This commit is contained in:
Jenkins ConfDroid
2018-12-29 19:21:11 +01:00
parent 2ce72bb35a
commit df9f3ad3ef
3 changed files with 84 additions and 9 deletions

View File

@@ -104,7 +104,47 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
<li>
<span class='name'>frontend_name</span>
<span class='type'>(<tt>string</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em>
&mdash;
<div class='inline'>
<p>the name for the frontend section rule.</p>
</div>
</li>
<li>
<span class='name'>frontend_order</span>
<span class='type'>(<tt>string</tt>)</span>
<em class="default">(defaults to: <tt>undef</tt>)</em>
&mdash;
<div class='inline'>
<p>the order where the concet should appear in the file.</p>
</div>
</li>
</ul>
</div><div class="method_details_list">
<table class="source_code">
@@ -113,24 +153,46 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
<pre class="lines">
23
24
25
26
27
28
29</pre>
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 23</span>
<pre class="code"><span class="info file"># File 'manifests/server/proxy.pp', line 26</span>
<span class='id identifier rubyid_define'>define</span> <span class='id identifier rubyid_cd_haproxy'>cd_haproxy</span><span class='op'>::</span><span class='id identifier rubyid_server'>server</span><span class='op'>::</span><span class='id identifier rubyid_proxy'>proxy</span> <span class='lparen'>(</span>
define cd_haproxy::server::proxy (
<span class='rparen'>)</span> <span class='lbrace'>{</span>
$frontend_name = undef,
$frontend_order = undef,
) {
$hy_main_config = cd_haproxy::params::hy_main_config
$hy_frontendrule = &#39;cd_haproxy/haproxy_frontend_rule.erb&#39;
<span class='rbrace'>}</span></pre>
# create frontend section
concat::fragment { &quot;frontend_${name}&quot;:
target =&gt; $hy_main_config,
content =&gt; $hy_frontendrule,
order =&gt; $frontend_order,
}
}</pre>
</td>
</tr>
</table>