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.

123456789101112131415161718192021222324252627
  1. {% if data.data.orch_pre_remove is defined %}
  2. orchestrate_node_key_pre_remove:
  3. runner.state.orchestrate:
  4. - mods: {{ data.data.orch_pre_remove }}
  5. - queue: True
  6. - pillar: {{ data.data.get('orch_pre_remove_pillar', {}) }}
  7. {% endif %}
  8. node_key_remove:
  9. runner.state.orchestrate:
  10. - mods: salt.orchestrate.reactor.key_remove.sls
  11. - queue: True
  12. - pillar:
  13. node_id: {{ data.data['node_id'] }}
  14. {% if data.data.orch_post_remove is defined %}
  15. orchestrate_node_key_post_remove:
  16. runner.state.orchestrate:
  17. - mods: {{ data.data.orch_post_remove }}
  18. - queue: True
  19. - pillar: {{ data.data.get('orch_post_remove_pillar', {}) }}
  20. {% endif %}