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

20 行
441B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. include:
  3. - salt.master
  4. salt-syndic:
  5. {% if salt_settings.install_packages %}
  6. pkg.installed:
  7. - name: {{ salt_settings.salt_syndic }}
  8. {% endif %}
  9. service.running:
  10. - name: {{ salt_settings.syndic_service }}
  11. - require:
  12. - service: salt-master
  13. - watch:
  14. {% if salt_settings.install_packages %}
  15. - pkg: salt-master
  16. {% endif %}
  17. - file: salt-master