瀏覽代碼

Merge pull request #394 from myii/PR_364-archive-dir-for-minor-release

Fix `repo.saltstack.com` URLs for pinned minor release (#364)
tags/v0.57.0
Niels Abspoel 5 年之前
父節點
當前提交
44b06d70b7
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      salt/map.jinja

+ 6
- 0
salt/map.jinja 查看文件

@@ -41,6 +41,12 @@ that differ from whats in defaults.yaml
##}
{% set osrelease = salt['grains.get']('osrelease') %}
{% set salt_release = salt['pillar.get']('salt:release', 'latest') %}

{# All minor releases appear in an `archive` sub-directory #}
{% if salt_release.split('.')|length >= 3 %}
{% set salt_release = 'archive/' ~ salt_release %}
{% endif %}

{% set os_family_map = salt['grains.filter_by']({
'Debian': {
'pkgrepo': 'deb http://repo.saltstack.com/apt/' +

Loading…
取消
儲存