From 3ad108b4b5d72b6221606ede771221ea7d8d4d4f Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Thu, 19 Dec 2024 10:56:44 +0100 Subject: [PATCH] recommit for updates in build 48 --- ...cd_nagios_3A_3Afirewall_3A_3Aiptables.html | 32 +++---------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/doc/puppet_classes/cd_nagios_3A_3Afirewall_3A_3Aiptables.html b/doc/puppet_classes/cd_nagios_3A_3Afirewall_3A_3Aiptables.html index b82ec1f..ae2354f 100644 --- a/doc/puppet_classes/cd_nagios_3A_3Afirewall_3A_3Aiptables.html +++ b/doc/puppet_classes/cd_nagios_3A_3Afirewall_3A_3Aiptables.html @@ -138,19 +138,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses/.

42 43 44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 +45
# 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
         }
       }
     }