salt/tests
Mark Kimsal 6ceeea6b62 Add enabled, disabled, enable, disable to runit
New methods test if the standard 'run' file in the services folder has
the executable bit set.  When the 'run' file is not executable, runit
will not launch the service on boot.  This mimicks the enabled/diabled
behavior of other service providers.

The file permissions are set to 700 and 600 for enabled and disabled
states.  Because of the ad-hoc nature that runit service files can
sometimes posess, the run files may have passwords or other sensitive
information.  Therefore, the permissions are hard coded to only be
readable by the file owner, who is also the user who runs the process.

This brings the runit module more inline with other service providers
so when it is used in a state (with provider: runit) more options can
be used, like enabled: True
2016-01-26 08:25:44 -05:00
..
integration Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop 2016-01-21 17:42:50 -07:00
perf Use print as a function [PEP 3105]. 2015-12-04 16:17:35 -08:00
pkg/rpm
unit Add enabled, disabled, enable, disable to runit 2016-01-26 08:25:44 -05:00
utils Ignore PyLint for external ipaddress module 2015-04-15 15:47:36 +02:00
__init__.py
buildpackage.py Use print as a function [PEP 3105]. 2015-12-04 16:17:35 -08:00
committer_parser.py lint 2015-03-10 15:37:49 -06:00
consist.py Py3 compatibility fixes 2015-01-30 22:25:06 +00:00
eventlisten.py Subscribe event to bus is optional now 2015-08-03 16:10:38 -06:00
eventlisten.sh Move giant eventlisten.sh example out of the state.event docstring 2015-09-10 13:38:09 -06:00
jenkins.py Splay sleeps inside jenkins 2015-12-16 14:48:51 -07:00
minionswarm.py Add rand-ver option 2015-09-23 16:09:23 -06:00
modparser.py No empty docstrings 2015-07-12 19:26:33 +01:00
packdump.py Py3 compatibility fixes. 2015-01-30 22:25:28 +00:00
runtests.py Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop 2015-12-01 15:31:03 -07:00
salt-tcpdump.py Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop 2015-04-29 12:01:52 -06:00
saltsh.py Py3 compatibility fixes 2015-01-30 22:25:08 +00:00
wheeltest.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00