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

18 行
352B

  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.enabled %}
  3. include:
  4. - salt.master.service
  5. /etc/salt/master.d/_reactor.conf:
  6. file.managed:
  7. - source: salt://salt/files/_reactor.conf
  8. - user: root
  9. - template: jinja
  10. - require:
  11. - {{ master.install_state }}
  12. - watch_in:
  13. - service: salt_master_service
  14. {%- endif %}