Skip to content

Instantly share code, notes, and snippets.

@eliasp
Last active March 16, 2020 13:14
Show Gist options
  • Save eliasp/0bc1112ba5629dc10c714edf3588d899 to your computer and use it in GitHub Desktop.
Save eliasp/0bc1112ba5629dc10c714edf3588d899 to your computer and use it in GitHub Desktop.
SaltStack - SLS requisite ordering fails
include:
- second
include:
- second
3-first:
test.nop
include:
- first
- third
2-second:
test.nop:
- require:
- sls: first
include:
- second
1-third:
test.nop:
- require:
- sls: second
1-third:
----------
__env__:
base
__sls__:
third
test:
|_
----------
require:
|_
----------
sls:
second
- nop
|_
----------
order:
10001
2-second:
----------
__env__:
base
__sls__:
second
test:
|_
----------
require:
|_
----------
sls:
first
- nop
|_
----------
order:
10002
3-first:
----------
__env__:
base
__sls__:
first
test:
- nop
|_
----------
order:
10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment