Skip to content

Instantly share code, notes, and snippets.

@ekristen
Created January 14, 2014 23:21
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 ekristen/c3989e1620d4b7488335 to your computer and use it in GitHub Desktop.
Save ekristen/c3989e1620d4b7488335 to your computer and use it in GitHub Desktop.
highstate_run:
cmd.state.highstate:
- tgt: {{ data['id'] }}
reactor:
- 'salt/minion/*/start':
- /srv/reactor/auth-complete.sls
@jasondenning
Copy link

highstate_run:
cmd.run:
- name: cat {{data['id']}} >> reactor_worked.txt
- cwd: /tmp
cmd.state.highstate:
- tgt: {{ data['id'] }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment