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

123456789101112131415
  1. {% from "salt/package-map.jinja" import pkgs with context %}
  2. include:
  3. - salt.master
  4. salt-syndic:
  5. pkg.installed:
  6. - name: {{ pkgs['salt-syndic'] }}
  7. service:
  8. - running
  9. - require:
  10. - service: {{ pkgs.get('syndic-service', 'salt-master') }}
  11. - watch:
  12. - pkg: salt-master
  13. - file: {{ pkgs.get('config-path', '/etc/salt') }}/master