linux-system-roles / firewall

Configure firewalld and system-config-firewall
https://linux-system-roles.github.io/firewall/
GNU General Public License v2.0
57 stars 32 forks source link

ensure that changes to target take effect immediately #70

Closed richm closed 2 years ago

richm commented 2 years ago

When changing the target, a reload is required in order for the changes to take effect, so ensure that this happens.

The code has been refactored slightly in order to use the same reload logic for other cases where reload is required.

A new test was added for the target use cases.

vrindle commented 2 years ago

LGTM

richm commented 2 years ago

[citest bad]