瀏覽代碼

Apt für Buster

Michael Schwarz 4 年之前
父節點
當前提交
c2fa2d087c
共有 2 個文件被更改,包括 19 次插入0 次删除
  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