Parcourir la source

Apt für Buster

Michael Schwarz il y a 4 ans
Parent
commit
c2fa2d087c
2 fichiers modifiés avec 19 ajouts et 0 suppressions
  1. 2 0
      apt/init.sls
  2. 17 0
      apt/sources.list.Debian.buster

+ 2 - 0
apt/init.sls

@@ -10,8 +10,10 @@
   file.managed:
     - source: salt://apt/update_apt.cron
 
+{% if (grains.oscodename == 'jessie' or grains.oscodename == 'stretch') %}
 apt-transport-https:
   pkg.installed
+{% endif %}
 
 python-apt:
   pkg.installed

+ 17 - 0
apt/sources.list.Debian.buster

@@ -0,0 +1,17 @@
+#
+# /etc/apt/sources.list (Salt managed)
+#
+
+deb	http://deb.debian.org/debian/ buster main non-free contrib
+deb-src	http://deb.debian.org/debian/ buster main non-free contrib
+
+deb	http://security.debian.org/debian-security buster/updates main contrib non-free
+deb-src	http://security.debian.org/debian-security buster/updates main contrib non-free
+
+# buster-updates, previously known as 'volatile'
+deb	http://deb.debian.org/debian/ buster-updates main contrib non-free
+deb-src	http://deb.debian.org/debian/ buster-updates main contrib non-free
+
+# buster-backports, previously on backports.debian.org
+deb	http://deb.debian.org/debian/ buster-backports main contrib non-free
+deb-src	http://deb.debian.org/debian/ buster-backports main contrib non-free