Files
confdroid_apache/manifests/firewall/iptables.pp
Arne Teuke 77572efa1a OP#410 lint
2026-02-03 16:25:18 +01:00

23 lines
723 B
Puppet

## confdroid_apache::firewall::iptables.pp
# Module name: confdroid_apache
# Author: 12ww1160 (12ww1160@ConfDroid.com)
# @summary manage firewall settings through cd_firewall or puppetlabs-firewall
###############################################################################
class confdroid_apache::firewall::iptables (
) inherits confdroid_apache::params {
if $ae_manage_fw == true {
firewall { "${ae_order_no}${ae_http_port} tcp http port ${ae_http_port}":
proto => 'tcp',
dport => $ae_http_port,
jump => 'accept',
}
firewall { "${ae_order_no}${ae_https_port} tcp http port ${ae_https_port}":
proto => 'tcp',
dport => $ae_https_port,
jump => 'accept',
}
}
}