From: Frank Brehm Date: Thu, 25 Feb 2016 17:17:18 +0000 (+0100) Subject: Adding public GPG keys for APT X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e401dccfcaafd510ef0083032cc6c9ecd6c3cd92;p=salt%2Fstates.git Adding public GPG keys for APT --- diff --git a/debian/apt/init.sls b/debian/apt/init.sls index e6b5155..5eca929 100644 --- a/debian/apt/init.sls +++ b/debian/apt/init.sls @@ -1,6 +1,21 @@ {%- from "debian/apt/map.jinja" import debian_release with context -%} {%- from "debian/apt/map.jinja" import debian_mirror with context -%} +/etc/apt/SALTSTACK-GPG-KEY.pub: + file.managed: + - user: root + - group: root + - mode: 644 + - source: salt://debian/apt/files/SALTSTACK-GPG-KEY.pub + - backup: minion + +/etc/apt/repo.uhu-banane.de.gpg-key.pub: + file.managed: + - user: root + - group: root + - mode: 644 + - source: salt://debian/apt/files/repo.uhu-banane.de.gpg-key.pub + - backup: minion /etc/apt/apt.conf.d: file.directory: