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

17 行
436B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. salt-master:
  3. pkg.installed:
  4. - name: {{ salt_settings.salt_master }}
  5. file.recurse:
  6. - name: {{ salt_settings.config_path }}/master.d
  7. - template: jinja
  8. - source: salt://salt/files/master.d
  9. - clean: True
  10. service.running:
  11. - enable: True
  12. - name: {{ salt_settings.master_service }}
  13. - watch:
  14. - pkg: salt-master
  15. - file: salt-master