[apt] move debian repo configurations in a 'logilab' package
authorDavid Douard <david.douard@logilab.fr>
Mon, 02 Jun 2014 14:56:01 +0200
changeset 2 a94559c3bff9
parent 1 a0f87dba2b8f
child 3 71cd0777119a
[apt] move debian repo configurations in a 'logilab' package
cubicweb/init.sls
cubicweb/logilab-pinning
cubicweb/logilab.sls
logilab/logilab-pinning
logilab/public.sls
--- a/cubicweb/init.sls	Mon Jun 02 13:48:52 2014 +0200
+++ b/cubicweb/init.sls	Mon Jun 02 14:56:01 2014 +0200
@@ -1,5 +1,5 @@
 include:
-  - cubicweb.logilab
+  - logilab.public
 
 cw-logilab-deps:
   pkg.installed:
--- a/cubicweb/logilab-pinning	Mon Jun 02 13:48:52 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-Package: *
-Pin: release a=acceptance
-Pin-Priority: 100
-
-Package: *
-Pin: release a=production
-Pin-Priority: 600
-
-Package: *
-Pin: release a=unstable
-Pin-Priority: 1
--- a/cubicweb/logilab.sls	Mon Jun 02 13:48:52 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-
-/etc/apt/preferences.d/logilab-pinning:
-  file.managed:
-    - source: salt://cubicweb/logilab-pinning
-    - template: jinja
-
-logilab-public-acceptance:
-  pkgrepo.managed:
-    - human_name: Logilab acceptance public Debian repository
-    - name: deb http://download.logilab.org/acceptance {{ grains['oscodename'] }}/
-    - key_url: http://download.logilab.org/logilab-dists-key.asc
-    - gpgcheck: 1
-    - require:
-      - file: /etc/apt/preferences.d/logilab-pinning
-
-logilab-public-production:
-  pkgrepo.managed:
-    - human_name: Logilab production public Debian repository
-    - name: deb http://download.logilab.org/production {{ grains['oscodename'] }}/
-    - key_url: http://download.logilab.org/logilab-dists-key.asc
-    - gpgcheck: 1
-    - require:
-      - file: /etc/apt/preferences.d/logilab-pinning
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logilab/logilab-pinning	Mon Jun 02 14:56:01 2014 +0200
@@ -0,0 +1,11 @@
+Package: *
+Pin: release a=acceptance
+Pin-Priority: 100
+
+Package: *
+Pin: release a=production
+Pin-Priority: 600
+
+Package: *
+Pin: release a=unstable
+Pin-Priority: 1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logilab/public.sls	Mon Jun 02 14:56:01 2014 +0200
@@ -0,0 +1,24 @@
+
+/etc/apt/preferences.d/logilab-pinning:
+  file.managed:
+    - source: salt://cubicweb/logilab-pinning
+    - template: jinja
+
+logilab-public-acceptance:
+  pkgrepo.managed:
+    - human_name: Logilab acceptance public Debian repository
+    - name: deb http://download.logilab.org/acceptance {{ grains['oscodename'] }}/
+    - key_url: http://download.logilab.org/logilab-dists-key.asc
+    - gpgcheck: 1
+    - require:
+      - file: /etc/apt/preferences.d/logilab-pinning
+
+logilab-public-production:
+  pkgrepo.managed:
+    - human_name: Logilab production public Debian repository
+    - name: deb http://download.logilab.org/production {{ grains['oscodename'] }}/
+    - key_url: http://download.logilab.org/logilab-dists-key.asc
+    - gpgcheck: 1
+    - require:
+      - file: /etc/apt/preferences.d/logilab-pinning
+