Commit Graph

8 Commits (03fc2c0c793156317634a7493a2a115cd0af87bd)

Author SHA1 Message Date
Toshio Kuratomi e7a48cfb40 Use is_executable from its new location 2016-12-08 11:23:37 -05:00
Igor Khomyakov 9a599e35c1 fixed 'present' 2016-12-08 11:23:25 -05:00
Tagir Bakirov 8bd367eac7 added 'absent' option to supervisorctl 2016-12-08 11:23:13 -05:00
Igor Khomyakov 03483d2ea5 Check if a service exists 2016-12-08 11:23:13 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
Kamil Madac 1ae799f361 Better error handling in supervisorctl module.
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
2016-12-08 11:23:07 -05:00
Tomasz Kontusz 103b5954c7 supervisorctl: Don't try to start a starting program
Starting a "STARTING" program throws ERROR (already started),
so don't do that.
2016-12-08 11:22:31 -05:00
Michael DeHaan 213e518165 file extensions! 2016-12-08 11:22:22 -05:00