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.

12345678910111213141516171819202122232425262728
  1. {% if data.data.orch_pre_create is defined %}
  2. orchestrate_node_key_pre_create:
  3. runner.state.orchestrate:
  4. - mods: {{ data.data.orch_pre_create }}
  5. - queue: True
  6. - pillar: {{ data.data.get('orch_pre_create_pillar', {}) }}
  7. {% endif %}
  8. node_key_create:
  9. runner.state.orchestrate:
  10. - mods: salt.orchestrate.reactor.key_create
  11. - queue: True
  12. - pillar:
  13. node_id: {{ data.data['node_id'] }}
  14. node_host: {{ data.data['node_host'] }}
  15. {% if data.data.orch_post_create is defined %}
  16. orchestrate_node_key_post_create:
  17. runner.state.orchestrate:
  18. - mods: {{ data.data.orch_post_create }}
  19. - queue: True
  20. - pillar: {{ data.data.get('orch_post_create_pillar', {}) }}
  21. {% endif %}