浏览代码

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.

正在加载...
取消
保存