OP#561 fix fw setting

This commit is contained in:
2026-04-09 14:32:06 +02:00
parent 7049093171
commit 5481c36198
2 changed files with 2 additions and 4 deletions

View File

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

View File

@@ -7,9 +7,7 @@ class confdroid_ssh::main::service (
) inherits confdroid_ssh::params {
require confdroid_ssh::main::files
require confdroid_ssh::selinux::semanage
if $ssh_use_firewall {
require confdroid_ssh::firewall::iptables
}
service { $sshd_service:
ensure => running,