adds haproxy user
This commit is contained in:
@@ -28,28 +28,16 @@ class cd_haproxy::firewall::iptables (
|
||||
|
||||
require cd_haproxy::main::files
|
||||
|
||||
if $hy_proxy_mode == 'http' {
|
||||
|
||||
firewall { "${hy_fw_order_no}80 tcp port 80":
|
||||
proto => 'tcp',
|
||||
dport => '80',
|
||||
action => 'accept',
|
||||
}
|
||||
firewall { "${hy_fw_order_no}${hy_http_port} tcp port ${hy_http_port}":
|
||||
proto => 'tcp',
|
||||
dport => $hy_http_port,
|
||||
action => 'accept',
|
||||
}
|
||||
|
||||
if $hy_proxy_mode == 'tcp' {
|
||||
|
||||
firewall { "${hy_fw_order_no}${hy_fe_port} tcp port ${hy_fe_port}":
|
||||
proto => 'tcp',
|
||||
dport => $hy_fe_port,
|
||||
action => 'accept',
|
||||
}
|
||||
firewall { "${hy_fw_order_no}${hy_https_port} tcp port ${hy_https_port}":
|
||||
proto => 'tcp',
|
||||
dport => $hy_https_port,
|
||||
action => 'accept',
|
||||
}
|
||||
}
|
||||
|
||||
if $fqdn == $hy_host_fqdn {
|
||||
|
||||
require cd_haproxy::main::files
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user