Salt (also known as SaltStack) is a Python-based open-source configuration management and remote execution system. Current version: 3007.14. Release cadence: approximately every 6 months with long-term support (LTS) releases every 2-3 years. It supports parallel execution of commands, state management, and event-driven automation across thousands of systems.
pip install saltNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: load configuration and execute a remote command on all minions.
Load config with salt.config.minion_config('/etc/salt/minion') or minion_config(None) and pass to LocalClient.Use salt.runner.RunnerClient or salt.wheel.WheelClient with explicit client initialization.
Ensure minion is fully connected before querying grains/pillar, or use the ready grain.
Use salt-cloud CLI or install cloud provider-specific packages.
Run 'pip install salt' and ensure your Python interpreter includes the installed package.
Use 'import salt.client' instead of 'import salt'.
Use 'opts' parameter: LocalClient(opts=...).
Add 'pillar_roots: {base: /srv/pillar}' to /etc/salt/master.