瀏覽代碼

fix small issues found by @myii

tags/v0.57.0
Niels Abspoel 5 年之前
父節點
當前提交
66c0699814
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. +2
    -2
      salt/map.jinja
  2. +1
    -1
      salt/osmap.yaml

+ 2
- 2
salt/map.jinja 查看文件

@@ -11,11 +11,11 @@

{# merge the osfamilymap #}
{% set osfamily = salt['grains.filter_by'](osfamilymap, grain='os_family') or{} %}
{% do defaults.salt.update(osfamily) %}
{% do salt['defaults.merge'](defaults['salt'], osfamily) %}

{# merge the osmap #}
{% set osmap = salt['grains.filter_by'](osmap, grain='os') or{} %}
{% do defaults.salt.update(osmap) %}
{% do salt['defaults.merge'](defaults['salt'], osmap) %}

{## Merge in salt pillar ##}
{% set salt_settings = salt['pillar.get']('salt', default=defaults['salt'], merge=True) %}

+ 1
- 1
salt/osmap.yaml 查看文件

@@ -22,7 +22,7 @@ Ubuntu:
install_from_source: False
git:
require_state: False
install_from_package: None
install_from_package: Null

Raspbian:
pkgrepo: 'deb http://repo.saltstack.com/apt/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'

Loading…
取消
儲存