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

15 行
352B

  1. {% from "salt/package-map.jinja" import pkgs with context %}
  2. salt-master:
  3. pkg.installed:
  4. - name: {{ pkgs['salt-master'] }}
  5. file.managed:
  6. - name: /etc/salt/master.d/master.conf
  7. - template: jinja
  8. - source: salt://salt/files/master
  9. service.running:
  10. - enable: True
  11. - watch:
  12. - pkg: salt-master
  13. - file: salt-master