New version of salt-formula from Saltstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314
  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.get('ddns', {}).get('enabled', False) %}
  3. ddns_packages:
  4. pkg.installed:
  5. - names: {{ master.ddns_pkgs }}
  6. ddns_keys_file:
  7. file.managed:
  8. - name: /etc/salt/ddns.keyring
  9. - source: salt://salt/files/ddns.keyring
  10. - template: jinja
  11. - mode: 600
  12. {%- endif %}