From 6d9683ca1f902ee6c522e01d1518e060881d0ef1 Mon Sep 17 00:00:00 2001 From: James O'Neill Date: Wed, 9 Dec 2015 23:33:00 +1300 Subject: [PATCH] Add clean_file to wipe saltstack.list contents --- salt/pkgrepo/debian/init.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/pkgrepo/debian/init.sls b/salt/pkgrepo/debian/init.sls index 4483619..350713f 100644 --- a/salt/pkgrepo/debian/init.sls +++ b/salt/pkgrepo/debian/init.sls @@ -6,6 +6,7 @@ saltstack-pkgrepo: - name: {{ salt_settings.pkgrepo }} - file: /etc/apt/sources.list.d/saltstack.list - key_url: {{ salt_settings.key_url }} + - clean_file: True # Order: 1 because we can't put a require_in on "pkg: salt-{master,minion}" # because we don't know if they are used. - order: 1