adds fw rules here to ensure fw is managed on apache lavel instead application level

This commit is contained in:
Arne Teuke
2018-04-20 11:30:48 +02:00
parent 1c46f1634d
commit dddb9afc18
3 changed files with 53 additions and 1 deletions

View File

@@ -55,6 +55,10 @@
# should be allowed to share content through httpd. Usually this is a security
# problem and as such should be disabled.
# @param [boolean] ae_incl_target whether or not to allow nagios monitoring.
# @param [string] ae_order_no the order number for the firewall rules
# @param [string] ae_http_port the port to use for the http protocol
# @param [string] ae_https_port the port to use for the https protocol
###########################################################################
##############################################################################
class cd_apache::params (
@@ -78,6 +82,12 @@ $ae_allow_user_dirs = false,
$ae_incl_target = true,
$ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
# firewall
$ae_manage_fw = true,
$ae_order_no = '50',
$ae_http_port = '80',
$ae_https_port = '443',
) {
# installation section