OP#561 fix fw setting

This commit is contained in:
2026-04-09 14:19:04 +02:00
parent 9283cbfadc
commit 493f8fc2eb

View File

@@ -15,7 +15,7 @@ class confdroid_ssh::firewall::iptables (
jump => 'accept', jump => 'accept',
} }
} }
else { if $ssh_use_firewall == false {
firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}": firewall { "${ssh_fw_order}${ssh_fw_port} remove SSH on port ${ssh_fw_port}":
ensure => 'absent', ensure => 'absent',
proto => 'tcp', proto => 'tcp',
@@ -25,4 +25,3 @@ class confdroid_ssh::firewall::iptables (
} }
} }
} }