Recommit for updates in build 5
This commit is contained in:
@@ -117,7 +117,15 @@
|
|||||||
19
|
19
|
||||||
20
|
20
|
||||||
21
|
21
|
||||||
22</pre>
|
22
|
||||||
|
23
|
||||||
|
24
|
||||||
|
25
|
||||||
|
26
|
||||||
|
27
|
||||||
|
28
|
||||||
|
29
|
||||||
|
30</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/firewall/iptables.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/firewall/iptables.pp', line 6</span>
|
||||||
@@ -137,6 +145,14 @@ class confdroid_haproxy::firewall::iptables (
|
|||||||
dport => $hy_https_port,
|
dport => $hy_https_port,
|
||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $hy_show_stats == true {
|
||||||
|
firewall { "${hy_fw_order_no}${hy_stats_port} tcp port ${hy_stats_port}":
|
||||||
|
proto => 'tcp',
|
||||||
|
dport => $hy_stats_port,
|
||||||
|
jump => 'accept',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -879,6 +879,24 @@
|
|||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>whether to allow stats in selinux</p>
|
<p>whether to allow stats in selinux</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>hy_stats_port</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'8404'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>the port to use for stats. used in firewall settings</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -894,7 +912,6 @@
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
59
|
|
||||||
60
|
60
|
||||||
61
|
61
|
||||||
62
|
62
|
||||||
@@ -985,10 +1002,12 @@
|
|||||||
147
|
147
|
||||||
148
|
148
|
||||||
149
|
149
|
||||||
150</pre>
|
150
|
||||||
|
151
|
||||||
|
152</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 59</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 60</span>
|
||||||
|
|
||||||
class confdroid_haproxy::params (
|
class confdroid_haproxy::params (
|
||||||
|
|
||||||
@@ -1010,6 +1029,7 @@ class confdroid_haproxy::params (
|
|||||||
# main config
|
# main config
|
||||||
String $hy_http_port = '80',
|
String $hy_http_port = '80',
|
||||||
String $hy_https_port = '443',
|
String $hy_https_port = '443',
|
||||||
|
String $hy_stats_port = '8404',
|
||||||
String $hy_chroot = '/var/lib/haproxy',
|
String $hy_chroot = '/var/lib/haproxy',
|
||||||
String $hy_pid = '/var/run/haproxy.pid',
|
String $hy_pid = '/var/run/haproxy.pid',
|
||||||
String $hy_maxconn = '4000',
|
String $hy_maxconn = '4000',
|
||||||
|
|||||||
Reference in New Issue
Block a user