You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/system
David Wittman 8d53ef2f60 [service] Fix bug with upstart detection
Upstart scripts are being incorrectly identified as SysV init scripts
due to a logic error in the `service` module.

Because upstart uses multiple commands (`/sbin/start`, `/sbin/stop`,
etc.) for managing service state, the codepath for upstart sets
`self.svc_cmd` to an empty string on line 451.

Empty strings are considered a non-truthy value in Python, so
conditionals which are checking the state of `self.svc_cmd` should
explicitly compare it to `None` to avoid overlooking the fact that
the service may be controlled by an upstart script.
10 years ago
..
__init__.py package files 10 years ago
authorized_key.py Fix authorized_key module crashing when given an invalid key 10 years ago
cron.py Update cron example for setting to run twice a day 10 years ago
group.py Add basic support for OSX groups. 10 years ago
hostname.py Add Linuxmint support in hostname module 10 years ago
mount.py Setting the actual passno and dump defaults, and warning user of consequences in nulling 10 years ago
ping.py file extensions! 10 years ago
seboolean.py file extensions! 10 years ago
selinux.py Set selinux state to 'permissive' for state=disabled 10 years ago
service.py [service] Fix bug with upstart detection 10 years ago
setup.py file extensions! 10 years ago
sysctl.py now handles non string values for sysctl 10 years ago
user.py Added HP-UX subclass 10 years ago