瀏覽代碼

fix: make it possible to not have key_url set

Fixes #520
tags/v1.9.5
hk 3 年之前
父節點
當前提交
97e1d1f07a
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      salt/pkgrepo/debian/install.sls

+ 2
- 0
salt/pkgrepo/debian/install.sls 查看文件

@@ -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.

Loading…
取消
儲存