2016-11-17 18:41:26 +01:00
|
|
|
SaltStack or Salt is a Python-based open source configuration
|
|
|
|
management and remote execution engine.
|
2016-08-29 02:52:55 +02:00
|
|
|
|
2016-11-17 18:41:26 +01:00
|
|
|
This SlackBuild packages both the master and the minion.
|
|
|
|
|
|
|
|
Note: at this time, the pkg and service modules are not available
|
|
|
|
(unimplemented) in minions running Slackware.
|
2016-08-29 02:52:55 +02:00
|
|
|
|
|
|
|
Optional dependencies include:
|
|
|
|
python-ldap
|
2016-11-17 18:41:26 +01:00
|
|
|
GitPython
|
2016-08-29 02:52:55 +02:00
|
|
|
Mako
|
|
|
|
libvirt
|
|
|
|
pyOpenSSL
|
|
|
|
CherryPy
|
|
|
|
pymongo
|
|
|
|
python-keyring
|
|
|
|
MySQL-python
|
|
|
|
redis-py
|
|
|
|
python-gnupg
|
|
|
|
|
2016-11-17 18:41:26 +01:00
|
|
|
You must configure your master and your minions correctly before using
|
|
|
|
salt. For configuration details, please see:
|
|
|
|
|
2016-08-29 02:52:55 +02:00
|
|
|
https://docs.saltstack.com/en/latest/ref/configuration/index.html
|
2016-11-17 18:41:26 +01:00
|
|
|
|
|
|
|
To start the salt daemons automatically on your systems, you can add the
|
|
|
|
following lines to /etc/rc.d/rc.local, and then on each system enable
|
|
|
|
only the daemons you actually want, by making the rc scripts executable.
|
|
|
|
|
|
|
|
if [ -x /etc/rc.d/rc.salt-master ]; then
|
|
|
|
/etc/rc.d/rc.salt-master start
|
|
|
|
fi
|
|
|
|
if [ -x /etc/rc.d/rc.salt-minion ]; then
|
|
|
|
/etc/rc.d/rc.salt-minion start
|
|
|
|
fi
|
|
|
|
if [ -x /etc/rc.d/rc.salt-syndic ]; then
|
|
|
|
/etc/rc.d/rc.salt-syndic start
|
|
|
|
fi
|
|
|
|
|
|
|
|
On a master, you should enable the salt-master daemon, and probably also
|
|
|
|
the salt-minion daemon:
|
|
|
|
|
|
|
|
chmod +x /etc/rc.d/rc.salt-{master,minion}
|
|
|
|
|
|
|
|
On a minion, you should enable only the salt-minion daemon:
|
|
|
|
|
|
|
|
chmod +x /etc/rc.d/rc.salt-minion
|
|
|
|
|
|
|
|
You probably won't want to enable the salt-syndic daemon unless you have
|
|
|
|
configured a complex topology.
|