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

19 行
486B

  1. {% from "salt/map.jinja" import salt with context %}
  2. salt-minion:
  3. pkg.installed:
  4. - name: {{ salt['salt-minion'] }}
  5. file.recurse:
  6. - name: {{ salt.get('config-path', '/etc/salt') }}/minion.d
  7. - template: jinja
  8. - source: salt://salt/files/minion.d
  9. - clean: True
  10. - context:
  11. standalone: False
  12. service.running:
  13. - enable: True
  14. - name: {{ salt.get('minion-service', 'salt-minion') }}
  15. - watch:
  16. - pkg: salt-minion
  17. - file: salt-minion