Skip to content

Commit

Permalink
Merge pull request #11191 from teacup-on-rockingchair/nftables_iptabl…
Browse files Browse the repository at this point in the history
…es_mutex

Make package installation for iptables and nftables mutually exclusive
  • Loading branch information
marcusburghardt authored Apr 16, 2024
2 parents 261aab7 + 77390db commit 6718a87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
documentation_complete: true


platform: machine and not rhcos4-rhel9
platform: machine and not rhcos4-rhel9 and service_disabled[nftables] and service_disabled[ufw]

title: 'Install iptables Package'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ocil_clause: 'the package is not installed'

ocil: '{{{ ocil_package(package="nftables") }}}'

platform: machine
platform: machine and service_disabled[iptables] and service_disabled[ufw]

template:
name: package_installed
Expand Down
9 changes: 9 additions & 0 deletions shared/applicability/service_disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ args:
firewalld:
servicename: firewalld
packagename: firewalld
iptables:
servicename: iptables
packagename: iptables
nftables:
servicename: nftables
packagename: nftables
ufw:
servicename: ufw
packagename: ufw

0 comments on commit 6718a87

Please sign in to comment.