Browse Source

nftables: Purge iptables{,-persistent} when installing nftables

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 years ago
parent
commit
62fb829770
1 changed files with 6 additions and 0 deletions
  1. 6 0
      nftables/init.sls

+ 6 - 0
nftables/init.sls

@@ -19,3 +19,9 @@ nftables:
      - pkg: nftables
    - watch_in:
      - service: nftables
+
+purge-iptables:
+  pkg.purged:
+    - pkgs:
+      - iptables-persistent
+      - iptables