Skip to content

Commit

Permalink
fix: make it possible to not have key_url set
Browse files Browse the repository at this point in the history
Fixes #520
  • Loading branch information
hkbakke committed Nov 5, 2021
1 parent 99b1469 commit 97e1d1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/pkgrepo/debian/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ salt-pkgrepo-install-saltstack-debian:
- humanname: SaltStack Debian Repo
- name: {{ salt_settings.pkgrepo }}
- file: /etc/apt/sources.list.d/salt.list
{% if salt_settings.get('key_url') is not none %}
- key_url: {{ salt_settings.key_url }}
{% endif %}
- clean_file: True
# Order: 3 because we can't put a require_in on "pkg: salt-{master,minion}"
# because we don't know if they are used.
Expand Down

0 comments on commit 97e1d1f

Please sign in to comment.