removed unstable repos and pinning in ubuntu
authorPaul Tonelli <paul.tonelli@logilab.fr>
Mon, 11 Mar 2013 18:17:56 +0100
changeset 63 0f6a5c11fe7d
parent 62 3763b28d28eb
child 64 38b62296b765
removed unstable repos and pinning in ubuntu
ami_creator_pre.sls
--- a/ami_creator_pre.sls	Mon Mar 11 17:49:25 2013 +0100
+++ b/ami_creator_pre.sls	Mon Mar 11 18:17:56 2013 +0100
@@ -86,6 +86,7 @@
         - require:
             - mount.mounted: mounted_variation
 
+{% if ami_origin == 'debian' %}
 unstable.list:
     file.managed:
         - name: /mnt/variation/etc/apt/sources.list.d/unstable.list
@@ -101,6 +102,7 @@
         - mode: 644
         - require:
             - mount.mounted: mounted_variation
+{% endif %}
 
 minion:
     file.managed: