Commit Graph

16 Commits (499031ef47c03f5cf35d9e2c7cb0483930304276)

Author SHA1 Message Date
James Cammarata 8db481d8de Fixing a typo in the monit module (status and not status()) 11 years ago
James Cammarata bd9d8e8207 Merge branch 'devel' of https://github.com/brian-brazil/ansible into brian-brazil-devel 11 years ago
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>
11 years ago
Brian Brazil 296bf6bd04 Use empty string rather than None to avoid TypeError
Improve error messages.
11 years ago
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.
11 years ago
Michael DeHaan 376237d9d9 Fixup shell handling in monit module. 11 years ago
James Tanner 4f9aadcc07 Addresses #5023 Fix import comments 11 years ago
James Tanner 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
ryanaudiencepi 350db0cacf Monit fix - Use case insensitive comparison 11 years ago
ryanaudiencepi 3b89891dfe Fix monit module. Monit restart bug 11 years ago
ryanaudiencepi 2b4f53c455 Fix monit module. Use lowercase letters check instead of uppercase 11 years ago
Shuhao Wu a17610f7c6 Fixed monit restarted error.
Errors everytime...
11 years ago
Cristobal Rosa 8304d5d060 Remove unnecesary call 12 years ago
Cristobal Rosa d2c7f30048 Fixed monit module. Ignore uppercase letters 12 years ago
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
12 years ago
Darryl Stoflet 5c72f379cb Adding monit modules to start/stop/monitor/unmonitor process via monit 12 years ago