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

25 行
405B

  1. {%- set node_name = salt['pillar.get']('event_originator') %}
  2. linux_state:
  3. salt.state:
  4. - tgt: '{{ node_name }}'
  5. - sls: linux
  6. - queue: True
  7. salt_state:
  8. salt.state:
  9. - tgt: '{{ node_name }}'
  10. - sls: salt.minion
  11. - queue: True
  12. - require:
  13. - salt: linux_state
  14. misc_states:
  15. salt.state:
  16. - tgt: '{{ node_name }}'
  17. - sls: ntp,openssh
  18. - queue: True
  19. - require:
  20. - salt: salt_state