Saltstack: Difference between revisions
From wikinotes
(→Notes) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|- | |- | ||
| module ref || https://docs.saltstack.com/en/latest/salt-modindex.html | | module ref || https://docs.saltstack.com/en/latest/salt-modindex.html | ||
|- | |||
| minion config || https://docs.saltproject.io/en/latest/ref/configuration/minion.html | |||
|- | |||
| master config || | |||
|- | |- | ||
|} | |} | ||
Line 33: | Line 37: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| [[saltstack concepts]] | | [[saltstack concepts]] | ||
|- | |- | ||
| [[saltstack install]] | | [[saltstack install]] | ||
|- | |- | ||
| [[saltstack configuration]] | | [[saltstack configuration]] | ||
|- | |- | ||
| [[saltstack platform notes]] | | [[saltstack platform notes]] | ||
|- | |- | ||
| [[saltstack usage]] | | [[saltstack usage]] | ||
|} | |} | ||
</blockquote><!-- Basics --> | </blockquote><!-- Basics --> | ||
Line 49: | Line 53: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| [[saltstack statefiles]] || | | [[saltstack statefiles]] || recipes for system state | ||
|- | |- | ||
| [[saltstack pillar]] || encrypted passwords/files | | [[saltstack pillar]] || encrypted passwords/files | ||
Line 79: | Line 83: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| [[saltstack state cookbook]] | | [[saltstack state cookbook]] | ||
|- | |- | ||
| [[saltstack troubleshooting]] | | [[saltstack troubleshooting]] | ||
|} | |} | ||
</blockquote><!-- Notes --> | </blockquote><!-- Notes --> | ||
</blockquote><!-- Notes --> | </blockquote><!-- Notes --> |
Latest revision as of 18:17, 19 February 2024
SaltStack is a cross-platform/opensource system/configuration management tool written in python.
I moved from ansible to saltstack because more flexible.
Documentation
homepage https://www.saltstack.com/ module ref https://docs.saltstack.com/en/latest/salt-modindex.html minion config https://docs.saltproject.io/en/latest/ref/configuration/minion.html master config
Locations
/var/log/saltstack/{master,minion}
logs {prefix}/etc/salt
config dir
Notes
Basics
saltstack concepts saltstack install saltstack configuration saltstack platform notes saltstack usage Components
saltstack statefiles recipes for system state saltstack pillar encrypted passwords/files saltstack grains facts about systems (ostype, cpu-arch, ..) saltstack testing Customization
saltstack custom states states that can be applied in .sls files saltstack custom jinja saltstack custom execution modules commands that can be applied using salt, salt-call, or {% do salt.<module>.<function> %}
saltstack patching you can patch saltstack modules/states if they are broken Notes
saltstack state cookbook saltstack troubleshooting