Browse Source

fix: make it possible to not have key_url set

Fixes #520
tags/v1.9.5
hk 3 years ago
parent
commit
97e1d1f07a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      salt/pkgrepo/debian/install.sls

+ 2
- 0
salt/pkgrepo/debian/install.sls View File

- humanname: SaltStack Debian Repo - humanname: SaltStack Debian Repo
- name: {{ salt_settings.pkgrepo }} - name: {{ salt_settings.pkgrepo }}
- file: /etc/apt/sources.list.d/salt.list - file: /etc/apt/sources.list.d/salt.list
{% if salt_settings.get('key_url') is not none %}
- key_url: {{ salt_settings.key_url }} - key_url: {{ salt_settings.key_url }}
{% endif %}
- clean_file: True - clean_file: True
# Order: 3 because we can't put a require_in on "pkg: salt-{master,minion}" # Order: 3 because we can't put a require_in on "pkg: salt-{master,minion}"
# because we don't know if they are used. # because we don't know if they are used.

Loading…
Cancel
Save