How to execute SLS files in sorted order

If you need to ensure that your SLS files are executed in a sorted order, then simply use this init.sls file.


Working with lists in Jinja2

Working with lists in Jinja2 is really simple if you are using the following trick.


Remove files with glob pattern in Saltstack

If you want to remove files using a glob pattern the you can not use salt.states.file.absent because it does not support file globbing. To workaround this you can simply use salt.modules.file.find.