diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-11-17 17:41:26 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-19 07:31:28 +0700 |
commit | 206336c0bcbffbdd89d55453feb6bf29dcb62243 (patch) | |
tree | 09f9a267edbe6cadb5b8dacdaf53bf220b4e7d42 /system/salt/README | |
parent | 2d76c763409a2a6bb74a308faca8384ebabdc2e3 (diff) |
system/salt: Updated for version 2016.3.4.
Thanks to bjwebb.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/salt/README')
-rw-r--r-- | system/salt/README | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/system/salt/README b/system/salt/README index 68aa92a08bed..4a0e3171869a 100644 --- a/system/salt/README +++ b/system/salt/README @@ -1,10 +1,14 @@ -SaltStack or Salt is a Python-based open source configuration management and -remote execution engine. +SaltStack or Salt is a Python-based open source configuration +management and remote execution engine. -At this time, there is no support for minions running Slackware. +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. Optional dependencies include: python-ldap + GitPython Mako libvirt pyOpenSSL @@ -15,5 +19,33 @@ Optional dependencies include: redis-py python-gnupg -For configuration details, please see: +You must configure your master and your minions correctly before using +salt. For configuration details, please see: + https://docs.saltstack.com/en/latest/ref/configuration/index.html + +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. |