From 65d076f3738b6704def81af00ae3e65255ad2fdf Mon Sep 17 00:00:00 2001 From: "Adrien \"ze\" Urban" Date: Wed, 1 Feb 2023 14:57:41 +0100 Subject: [PATCH] fix(osfamily): oscodename only if present --- vault/osfamilymap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vault/osfamilymap.yaml b/vault/osfamilymap.yaml index 63c8fe3..d454f7c 100644 --- a/vault/osfamilymap.yaml +++ b/vault/osfamilymap.yaml @@ -3,10 +3,12 @@ --- Debian: setcap_pkg: libcap2-bin +{% if "oscodename" in grains %} repo: 'deb [arch={{ grains["osarch"] }}] https://apt.releases.hashicorp.com {{ grains["oscodename"] }} main' repo_key: "https://apt.releases.hashicorp.com/gpg" repo_configfile: /etc/vault.d/vault.hcl +{% endif %} Suse: gpg_pkg: gpg2