Skip to content

Instantly share code, notes, and snippets.

@jwerak
Last active March 1, 2017 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwerak/285aa44d041891b499e910f188bf04a8 to your computer and use it in GitHub Desktop.
Save jwerak/285aa44d041891b499e910f188bf04a8 to your computer and use it in GitHub Desktop.
salt orchestrate runner to accept minion
Vefify minion if possible:
salt.state:
- tgt: {{ grains['id'] }}
- sls: ec2.accept
check_new_minion:
runner.state.orchestrate:
- mods: orch.accept_new_minion
- pillar:
event_data: {{ data | json() }}
salt-run state.orchestrate orch.accept
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment