From 526d92d0841a8277d1622d4c757409591462041b Mon Sep 17 00:00:00 2001 From: "Jason D. Kelleher" Date: Mon, 29 Apr 2019 09:57:29 -0400 Subject: [PATCH] select repo key package based on grains['os'] --- pillar.example | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pillar.example b/pillar.example index 204d978..2a5c0e5 100644 --- a/pillar.example +++ b/pillar.example @@ -1,6 +1,13 @@ apt: # Set the right keyring for the distro (ie ubuntu-keyring or ...) + {% if grains['os'] == 'Debian' %} keyring_package: debian-archive-keyring + {% elif grains['os'] == 'Ubuntu' %} + keyring_package: ubuntu-keyring + {% elif grains['os'] == 'Mint' %} + keyring_package: linuxmint-keyring + {% endif %} + remove_sources_list: true clean_sources_list_d: true