Skip to content

Commit

Permalink
Installing firewalld package on SLE only if active firewall technolog…
Browse files Browse the repository at this point in the history
…y is set to be firewalld
  • Loading branch information
teacup-on-rockingchair committed May 21, 2024
1 parent ace6d5d commit 864492d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,20 @@ fixtext: |-
{{{ package_install("firewalld") }}}
{{%- if product in [ "sle12", "sle15" ] %}}
template:
name: package_installed_guard_var
vars:
pkgname: firewalld
variable: var_network_filtering_service
value: firewalld
{{%- else %}}
template:
name: package_installed
vars:
pkgname: firewalld
{{%- endif %}}


srg_requirement:
{{{ full_name }}} must have the firewalld package installed.

0 comments on commit 864492d

Please sign in to comment.