From 3ad108b4b5d72b6221606ede771221ea7d8d4d4f Mon Sep 17 00:00:00 2001
From: Jenkins ConfDroid
# File 'manifests/firewall/iptables.pp', line 24
@@ -163,27 +151,15 @@ class cd_nagios::firewall::iptables (
if $ng_use_https != true {
- firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
- proto => ['tcp','udp'],
- dport => $ng_http_port,
- action => 'accept',
- }
- }
+ include confdroid_infrastructure::firewall::http
if $ng_use_https == true {
- firewall { "${ng_fw_order}${ng_https_port} port ${ng_https_port}":
- proto => ['tcp','udp'],
- dport => $ng_https_port,
- action => 'accept',
- }
+ include confdroid_infrastructure::firewall::https
if $ng_http_https_fw == true {
- firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
- proto => ['tcp','udp'],
- dport => $ng_http_port,
- action => 'accept',
+ include confdroid_infrastructure::firewall::http
}
}
}