New version of salt-formula from Saltstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324
  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