ansible/system
Patrik Lundin 5f37624eb4 Tweak error checking for "enabled" code.
Based on input from @jarmani:
* A return value of 2 now means a service does not exist. Instead of
  trying to handle the different meanings of rc after running "status",
  just look at stderr to know if something failed.
* Skip looking at stdout to make the code cleaner. Any errors should
  turn up on stderr.
2014-10-06 21:20:20 +02:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
authorized_key.py file extensions! 2014-09-26 10:37:56 -04:00
cron.py file extensions! 2014-09-26 10:37:56 -04:00
group.py file extensions! 2014-09-26 10:37:56 -04:00
hostname.py file extensions! 2014-09-26 10:37:56 -04:00
mount.py file extensions! 2014-09-26 10:37:56 -04:00
ping.py file extensions! 2014-09-26 10:37:56 -04:00
seboolean.py file extensions! 2014-09-26 10:37:56 -04:00
selinux.py file extensions! 2014-09-26 10:37:56 -04:00
service.py Tweak error checking for "enabled" code. 2014-10-06 21:20:20 +02:00
setup.py file extensions! 2014-09-26 10:37:56 -04:00
sysctl.py file extensions! 2014-09-26 10:37:56 -04:00
user.py file extensions! 2014-09-26 10:37:56 -04:00