Commit graph

16 commits

Author SHA1 Message Date
James Cammarata
8db481d8de Fixing a typo in the monit module (status and not status()) 2014-05-08 16:46:32 -05:00
James Cammarata
bd9d8e8207 Merge branch 'devel' of https://github.com/brian-brazil/ansible into brian-brazil-devel 2014-05-08 16:11:18 -05:00
Chris Lamb
1259475e32 Fail if monit reload failed; don't mask the error.
This is necessary for the scenario when you push a new, broken monit
config out, and then set a state=reloaded handler - the error was
previously swallowed so you could end up with successful play but missing
monitoring (!).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2014-05-08 18:18:28 +01:00
Brian Brazil
296bf6bd04 Use empty string rather than None to avoid TypeError
Improve error messages.
2014-04-25 13:30:19 +01:00
Brian Brazil
32a67999b6 Fix race conditions where a process gets in state "Running"
between the restart/start command and the summary command.

Refactor to avoid repeating the status, and fail if a given call to monit fails.
2014-04-16 18:04:19 +01:00
Michael DeHaan
376237d9d9 Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
ryanaudiencepi
350db0cacf Monit fix - Use case insensitive comparison 2013-10-03 02:46:35 +08:00
ryanaudiencepi
3b89891dfe Fix monit module. Monit restart bug 2013-10-01 03:41:17 +08:00
ryanaudiencepi
2b4f53c455 Fix monit module. Use lowercase letters check instead of uppercase 2013-10-01 03:39:43 +08:00
Shuhao Wu
a17610f7c6 Fixed monit restarted error.
Errors everytime...
2013-09-16 19:14:17 -04:00
Cristobal Rosa
8304d5d060 Remove unnecesary call 2013-07-06 22:12:30 +02:00
Cristobal Rosa
d2c7f30048 Fixed monit module. Ignore uppercase letters 2013-07-05 05:49:07 +02:00
Jan-Piet Mens
3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Darryl Stoflet
5c72f379cb Adding monit modules to start/stop/monitor/unmonitor process via monit 2013-05-28 23:22:34 -07:00