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

23 行
370B

  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.enabled %}
  3. include:
  4. - salt.master.service
  5. salt_api_packages:
  6. pkg.latest
  7. - names:
  8. - salt-api
  9. - require:
  10. - pkg: salt_master_packages
  11. salt_api_service:
  12. service.running:
  13. - name: salt-api
  14. - require:
  15. - pkg: salt_api_packages
  16. - watch:
  17. - file: /etc/salt/master
  18. {%- endif %}