소스 검색

apt: Add SaltStack upstream sources + gpg key.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 4 년 전
부모
커밋
6faad655cd
4개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      apt/init.sls
  2. BIN
      apt/salt.gpg
  3. 1 0
      apt/salt.list.Debian.buster
  4. 1 0
      apt/salt.list.Debian.stretch

+ 11 - 0
apt/init.sls

@@ -21,6 +21,17 @@
     - require:
       - file: /etc/apt/trusted.gpg.d/ffho.gpg
 
+# Salt APT
+/etc/apt/trusted.gpg.d/salt.gpg:
+  file.managed:
+    - source: salt://apt/salt.gpg
+
+/etc/apt/sources.list.d/salt.list:
+  file.managed:
+    - source: salt://apt/salt.list.{{ grains.os }}.{{ grains.oscodename }}
+    - require:
+      - file: /etc/apt/trusted.gpg.d/salt.gpg
+
 
 # APT preferences
 /etc/apt/preferences.d/ffho:

BIN
apt/salt.gpg


+ 1 - 0
apt/salt.list.Debian.buster

@@ -0,0 +1 @@
+deb http://repo.saltstack.com/py3/debian/10/amd64/2019.2/ buster main

+ 1 - 0
apt/salt.list.Debian.stretch

@@ -0,0 +1 @@
+deb http://repo.saltstack.com/py3/debian/9/amd64/2019.2/ stretch main