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.

30 lines
662B

  1. {% if data.data.orch_pre_create is defined %}
  2. orchestrate_node_key_pre_create:
  3. runner.state.orchestrate:
  4. - mods: salt://{{ data.data.orch_pre_create }}
  5. - queue: True
  6. - pillar:
  7. node_name: {{ data.data['node_name'] }}
  8. {% endif %}
  9. node_key_create:
  10. runner.state.orchestrate:
  11. - mods: salt://salt/orchestrate/key_create.sls
  12. - queue: True
  13. - pillar:
  14. node_name: {{ data.data['node_name'] }}
  15. {% if data.data.orch_post_create is defined %}
  16. orchestrate_node_key_post_create:
  17. runner.state.orchestrate:
  18. - mods: salt://{{ data.data.orch_post_create }}
  19. - queue: True
  20. - pillar:
  21. node_name: {{ data.data['node_name'] }}
  22. {% endif %}