diff --git a/doc/puppet_classes/confdroid_haproxy_3A_3Afirewall_3A_3Aiptables.html b/doc/puppet_classes/confdroid_haproxy_3A_3Afirewall_3A_3Aiptables.html index 07e5af9..66c8ffb 100644 --- a/doc/puppet_classes/confdroid_haproxy_3A_3Afirewall_3A_3Aiptables.html +++ b/doc/puppet_classes/confdroid_haproxy_3A_3Afirewall_3A_3Aiptables.html @@ -117,7 +117,15 @@ 19 20 21 -22 +22 +23 +24 +25 +26 +27 +28 +29 +30
# File 'manifests/firewall/iptables.pp', line 6
@@ -137,6 +145,14 @@ class confdroid_haproxy::firewall::iptables (
dport => $hy_https_port,
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',
+ }
+ }
}
}
whether to allow stats in selinux
+the port to use for stats. used in firewall settings
-59 60 61 62 @@ -985,10 +1002,12 @@ 147 148 149 -150+150 +151 +152
# File 'manifests/params.pp', line 59
+ # File 'manifests/params.pp', line 60
class confdroid_haproxy::params (
@@ -1010,6 +1029,7 @@ class confdroid_haproxy::params (
# main config
String $hy_http_port = '80',
String $hy_https_port = '443',
+ String $hy_stats_port = '8404',
String $hy_chroot = '/var/lib/haproxy',
String $hy_pid = '/var/run/haproxy.pid',
String $hy_maxconn = '4000',