Saltstack: Difference between revisions

From wikinotes
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 2: Line 2:
SaltStack is a cross-platform/opensource system/configuration management tool written in python.<br>
SaltStack is a cross-platform/opensource system/configuration management tool written in python.<br>
I moved from ansible to saltstack because more flexible.
I moved from ansible to saltstack because more flexible.
[[salt]]


= Documentation =
= Documentation =

Revision as of 19:32, 27 August 2023

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

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