Skip to content

Instantly share code, notes, and snippets.

@sjmh
Created October 21, 2015 18:55
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 sjmh/4328c50a0b3810be039d to your computer and use it in GitHub Desktop.
Save sjmh/4328c50a0b3810be039d to your computer and use it in GitHub Desktop.
cmd.run:
salt.function:
- tgt: 'alpha'
- arg:
- 'ls -l /tmp'
- require:
- salt: test
test:
salt.function:
- name: cmd.run
- arg:
- 'grep blah /etc/hosts'
- tgt: 'bravo'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment