recommit for updates in build 13
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
—
|
||||
<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>
|
||||
|
||||
|
||||
—
|
||||
<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 = 'cd_haproxy/haproxy_frontend_rule.erb'
|
||||
|
||||
<span class='rbrace'>}</span></pre>
|
||||
# create frontend section
|
||||
concat::fragment { "frontend_${name}":
|
||||
target => $hy_main_config,
|
||||
content => $hy_frontendrule,
|
||||
order => $frontend_order,
|
||||
}
|
||||
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user