3
0
This commit is contained in:
Arne Teuke
2025-10-27 19:13:22 +01:00
parent 51c27460a4
commit b5d6d660e3

View File

@@ -26,27 +26,4 @@ class puppet_cd::firewall::iptables (
}
}
}
if $fqdn == $pt_db_fqdn {
if $pt_use_ssl_only != true {
firewall { "3${pt_no_ssl_port} open port ${pt_no_ssl_port}":
proto => 'tcp',
dport => $pt_no_ssl_port,
jump => 'accept',
}
firewall { "3${pt_ssl_port} open port ${pt_ssl_port}":
proto => 'tcp',
dport => $pt_ssl_port,
jump => 'accept',
}
}
if $pt_use_ssl_only == true {
firewall { "3${pt_ssl_port} open port ${pt_ssl_port}":
proto => 'tcp',
dport => $pt_ssl_port,
jump => 'accept',
}
}
}
}