Skip to content

Commit

Permalink
Enable firewalld service on SLE only if active firewall technology is…
Browse files Browse the repository at this point in the history
… set to be firewalld
  • Loading branch information
teacup-on-rockingchair committed Dec 12, 2024
1 parent 55fd107 commit 67b3616
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ fixtext: |-
srg_requirement: '{{{ srg_requirement_service_enabled("firewalld") }}}'

{{%- if product in [ "sle12", "sle15" ] %}}
template:
name: service_enabled_guard_var
vars:
packagename: firewalld
servicename: firewalld
variable: var_network_filtering_service
value: firewalld
{{%- else %}}
template:
name: service_enabled
vars:
servicename: firewalld
{{%- endif %}}

0 comments on commit 67b3616

Please sign in to comment.