mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
0efbbcd17f
* * Improve init script: specifically manage salt configurations rather than arbitrary salt processes Unfortunately SysV init scripts tend to rummage through PIDs filtering for appropriate processes to manage. Unfortunately the filters are usually weak and don't account for similar processes run by other users, PIDs of dead processes being re-used for completely different executables, etc.. These weaknesses can result in killing unrelated processes with potentially serious results. These improvements to the SysV init script is a complete rewrite with the following improvements: * Specifically manage individual salt configurations rather than looking for salt minion-like processes. * Obtain salt minion information from the salt configuration - use the information to manage the specifically configured process. * Drop all of the platform-specific helper functions that allow the previously-mentioned weaknesses. + Unfortunately this means that the output information may not match the specific platform (this could easily be corrected). * Now can manage multiple salt processes started by different users + Unfortunately starts/stops/restarts as a group and is unable to manage them both as a group or as individual processes (this could easily be corrected) The new initscript also allows various control variables to be overridden by environment variables or through settings put in ``/etc/sysconf/salt`` or ``/etc/default/salt``. :SALTMINION_DEBUG: Dump each line expansion before execution, output system information on failure. Default: unset :SALTMINION_BINDIR: Location of ``salt-minion``, ``salt-call`` and other executables. Default: ``/usr/bin`` :SALTMINION_SYSCONFDIR: The parent directory for the ``salt`` configuration directory and the ``sysconfig`` or ``default`` directory. * Add lines that went missing in the rebase+squash |
||
---|---|---|
.. | ||
build.py | ||
logrotate.salt | ||
README.fedora | ||
salt-api | ||
salt-api.service | ||
salt-master | ||
salt-master.service | ||
salt-minion | ||
salt-minion.service | ||
salt-syndic | ||
salt-syndic.service | ||
salt.bash | ||
salt.spec |
These packages are *optional* dependencies for salt. By default, they are not included in the salt RPMs. Install any of these packages to enable the functionality within salt. MySQL-python libvirt-python python-mako pymongo python-redis / redis A semi-canonical list of the optional salt modules can be found at https://github.com/saltstack/salt/blob/develop/doc/conf.py#L30