Commit graph

16 commits

Author SHA1 Message Date
James Cammarata
b97f087f18 Fixing a typo in the monit module (status and not status()) 2014-05-08 16:46:32 -05:00
James Cammarata
a969941b85 Merge branch 'devel' of https://github.com/brian-brazil/ansible into brian-brazil-devel 2014-05-08 16:11:18 -05:00
Chris Lamb
f510389298 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
d25f1dc2d0 Use empty string rather than None to avoid TypeError
Improve error messages.
2014-04-25 13:30:19 +01:00
Brian Brazil
8ec400669f 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
98500b335b Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
ryanaudiencepi
cd6d4f70c0 Monit fix - Use case insensitive comparison 2013-10-03 02:46:35 +08:00
ryanaudiencepi
9da0ae2a1f Fix monit module. Monit restart bug 2013-10-01 03:41:17 +08:00
ryanaudiencepi
c2e2d53a16 Fix monit module. Use lowercase letters check instead of uppercase 2013-10-01 03:39:43 +08:00
Shuhao Wu
0d2a3f1b0c Fixed monit restarted error.
Errors everytime...
2013-09-16 19:14:17 -04:00
Cristobal Rosa
51166c9cfa Remove unnecesary call 2013-07-06 22:12:30 +02:00
Cristobal Rosa
cf48141a33 Fixed monit module. Ignore uppercase letters 2013-07-05 05:49:07 +02:00
Jan-Piet Mens
5c69918d53 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
0b53c711a6 Adding monit modules to start/stop/monitor/unmonitor process via monit 2013-05-28 23:22:34 -07:00