OP#669 get rid of hy_show_stats as it does not make sense
This commit is contained in:
@@ -101,7 +101,7 @@ Multiple ACLs need to be added as array, and will create one line each.
|
|||||||
## SELINUX
|
## SELINUX
|
||||||
|
|
||||||
All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
|
All files and directories are configured with correct selinux context. If selinux is disabled, these contexts are ignored.
|
||||||
If selinux is set to `enforce` (not controlled within this module) and `hy_show_stats`is set to `true`, the parameter `hy_selinux_allow_stats` must also be set to `true`, else the haproxy service will not start as selinux will not allow it.
|
If selinux is set to `enforce` (not controlled within this module), the parameter `hy_selinux_allow_stats` must also be set to `true`, else the haproxy service will not start as selinux will not allow it.
|
||||||
|
|
||||||
## Known Problems
|
## Known Problems
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,10 @@ class confdroid_haproxy::firewall::iptables (
|
|||||||
jump => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
|
|
||||||
if $hy_show_stats == true {
|
firewall { "${hy_fw_order_no}${hy_stats_port} tcp port ${hy_stats_port}":
|
||||||
firewall { "${hy_fw_order_no}${hy_stats_port} tcp port ${hy_stats_port}":
|
proto => 'tcp',
|
||||||
proto => 'tcp',
|
dport => $hy_stats_port,
|
||||||
dport => $hy_stats_port,
|
jump => 'accept',
|
||||||
jump => 'accept',
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
# @param [String] hy_chroot where the chroot should be
|
# @param [String] hy_chroot where the chroot should be
|
||||||
# @param [String] hy_pid the pid file to use.
|
# @param [String] hy_pid the pid file to use.
|
||||||
# @param [String] hy_maxconn how many connections should we max allow.
|
# @param [String] hy_maxconn how many connections should we max allow.
|
||||||
# @param [Boolean] hy_show_stats whether we want to display the statistics page
|
|
||||||
# @param [String] hy_stats_socket name and path of the stats socket
|
# @param [String] hy_stats_socket name and path of the stats socket
|
||||||
# @param [String] hy_default_mode which mode to use in the defaults block
|
# @param [String] hy_default_mode which mode to use in the defaults block
|
||||||
# @param [String] hy_log_default should be used when the instance's logging
|
# @param [String] hy_log_default should be used when the instance's logging
|
||||||
@@ -81,7 +80,6 @@ class confdroid_haproxy::params (
|
|||||||
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',
|
||||||
Boolean $hy_show_stats = false,
|
|
||||||
String $hy_stats_socket = '/var/lib/haproxy/stats',
|
String $hy_stats_socket = '/var/lib/haproxy/stats',
|
||||||
String $hy_default_mode = 'tcp',
|
String $hy_default_mode = 'tcp',
|
||||||
Boolean $hy_use_http_server_close = false,
|
Boolean $hy_use_http_server_close = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user