Skip to content

Instantly share code, notes, and snippets.

@Deshke
Created April 5, 2016 12:49
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 Deshke/395e631f53f43d84611d31b48a374612 to your computer and use it in GitHub Desktop.
Save Deshke/395e631f53f43d84611d31b48a374612 to your computer and use it in GitHub Desktop.
include:
- foo
do-some-stuff:
cmd.run:
- name: some-stuff
- require:
- sls: foo
------------
# what would be nice
# whole state "foo" is executed after "do-some-stuff" is done,
# on require.sls the foo state is execuded *before* the do-stuff-state
do-some-stuff:
cmd.run:
- name: some-stuff
include:
- foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment