Browse Source

ifupdown-ng: Work around file.absent shortcomings

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 3 years ago
parent
commit
7b435f139b
1 changed files with 5 additions and 5 deletions
  1. 5 5
      network/ifupdown-ng/init.sls

+ 5 - 5
network/ifupdown-ng/init.sls

@@ -12,8 +12,8 @@ ifupdown-ng:
       - salt://network/ifupdown-ng/ifupdown-ng.conf
 
 # Remove workaround for ifupdown2
-remove-ifupdown2-workarounds:
-  file.absent:
-    - name:
-      - /usr/local/sbin/ff_fix_default_route
-      - /etc/cron.d/ff_fix_default_route
+/usr/local/sbin/ff_fix_default_route:
+  file.absent
+
+/etc/cron.d/ff_fix_default_route:
+  file.absent