Skip to content

Commit 65d076f

Browse files
author
Adrien "ze" Urban
committed
fix(osfamily): oscodename only if present
1 parent 8653424 commit 65d076f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vault/osfamilymap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
---
44
Debian:
55
setcap_pkg: libcap2-bin
6+
{% if "oscodename" in grains %}
67
repo: 'deb [arch={{ grains["osarch"] }}] https://apt.releases.hashicorp.com
78
{{ grains["oscodename"] }} main'
89
repo_key: "https://apt.releases.hashicorp.com/gpg"
910
repo_configfile: /etc/vault.d/vault.hcl
11+
{% endif %}
1012

1113
Suse:
1214
gpg_pkg: gpg2

0 commit comments

Comments
 (0)