Skip to content

Commit

Permalink
fix(osfamily): oscodename only if present
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien "ze" Urban committed Feb 1, 2023
1 parent 8653424 commit 65d076f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vault/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65d076f

Please sign in to comment.