update fw settings
This commit is contained in:
@@ -31,13 +31,13 @@ class cd_haproxy::firewall::iptables (
|
|||||||
firewall { "${hy_fw_order_no}${hy_http_port} tcp port ${hy_http_port}":
|
firewall { "${hy_fw_order_no}${hy_http_port} tcp port ${hy_http_port}":
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
dport => $hy_http_port,
|
dport => $hy_http_port,
|
||||||
action => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
|
|
||||||
firewall { "${hy_fw_order_no}${hy_https_port} tcp port ${hy_https_port}":
|
firewall { "${hy_fw_order_no}${hy_https_port} tcp port ${hy_https_port}":
|
||||||
proto => 'tcp',
|
proto => 'tcp',
|
||||||
dport => $hy_https_port,
|
dport => $hy_https_port,
|
||||||
action => 'accept',
|
jump => 'accept',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ class cd_haproxy::main::config (
|
|||||||
) inherits cd_haproxy::params {
|
) inherits cd_haproxy::params {
|
||||||
|
|
||||||
include cd_haproxy::server::service
|
include cd_haproxy::server::service
|
||||||
include cd_haproxy::server::proxy_test
|
# include cd_haproxy::server::proxy_test
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ class cd_haproxy::params (
|
|||||||
$pkg_ensure = 'latest',
|
$pkg_ensure = 'latest',
|
||||||
$reqpackages = ['haproxy'],
|
$reqpackages = ['haproxy'],
|
||||||
|
|
||||||
$hy_host_fqdn = "proxy.${::domain}",
|
$hy_host_fqdn = undef,
|
||||||
|
|
||||||
# firewall
|
# firewall
|
||||||
$hy_manage_fw = true,
|
$hy_manage_fw = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user