added debian config file to avoir conf messages (do you want to replace previously modified config file...)
authorPaul Tonelli <paul.tonelli@logilab.fr>
Mon, 11 Mar 2013 15:27:04 +0100
changeset 57 28cbe9dbaf1f
parent 56 b9b71002538b
child 58 987740c53034
added debian config file to avoir conf messages (do you want to replace previously modified config file...)
ami_creator_pre.sls
others/02confold
--- a/ami_creator_pre.sls	Mon Mar 11 15:09:06 2013 +0100
+++ b/ami_creator_pre.sls	Mon Mar 11 15:27:04 2013 +0100
@@ -63,6 +63,14 @@
         - require:
             - mount.mounted: mounted_variation
 
+02confold:
+    file.managed:
+        - name: /mnt/variation/etc/apt/apt.conf.d/02confold
+        - source: salt://others/02confold
+        - mode: 644
+        - require:
+            - mount.mounted: mounted_variation
+
 policy-rc.d:
     file.managed:
         - name: /mnt/variation/usr/sbin/policy-rc.d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/others/02confold	Mon Mar 11 15:27:04 2013 +0100
@@ -0,0 +1,4 @@
+Dpkg::Options {
+    "--force-confdef";
+    "--force-confold";
+}