Browse Source

apt: Bundle all file remove statements.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 years ago
parent
commit
e49c1ec7d8
1 changed files with 5 additions and 3 deletions
  1. 5 3
      apt/init.sls

+ 5 - 3
apt/init.sls

@@ -16,9 +16,6 @@ apt-transport-https:
 python-apt:
   pkg.installed
 
-ffpb-repo:
-  file.absent:
-    - name: /etc/apt/sources.list.d/freifunk.list
 
 ffho-repo-jessie:
   pkgrepo.managed:
@@ -37,6 +34,11 @@ ffho-repo-jessie:
     - require:
       - pkg: python-apt
 
+
+# Purge old stuff
+/etc/apt/sources.list.d/freifunk.list:
+  file.absent
+
 /etc/apt/sources.list.d/universe-factory.list:
   file.absent