🧂 Useful tips on Salt and related tools. Tweets by @maxim_arnold

Joined August 2017
First experiments with pytest-vagrant to run integration tests on a Windows VM with OpenSSH. VMs as fixtures are cool! #saltstack #saltproject
1
406
Is there a way to prevent salt-minion from starting up at the end of the package installation on Ubuntu? Yes, but Ubuntu/Debian need special handling as the salt-bootstrap -X option does nothing:
195
There is also "salt-live" tool written in Golang: github.com/kpetremann/salt-e…
4
120
By combining it with jq you can filter the output based on event fields! The following command will only show job returns from "state.sls" and "state.apply":
1
3
147
Watching "salt-run state.event" can be overwhelming. Fortunately, you can use regular expressions to watch only for specific event tags:
1
2
4
252
Wrote a script to get a brief overview of any Salt module gist.github.com/max-arnold/0…
2
263
Salt can handle failures using the "onfail" requisite, but the whole command will still return an error, which can be bad for scripting purposes if you rely on exit codes. The undocumented "onfail_stop" flag can suppress the exit code:
1
9
309