Kaynağa Gözat

apt: Bundle all file remove statements.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 yıl önce
ebeveyn
işleme
e49c1ec7d8
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  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