Commit Graph

16 Commits (80df2135e903bc167b70cd1a45e8d4eb803e87ed)

Author SHA1 Message Date
James Cammarata b97f087f18 Fixing a typo in the monit module (status and not status()) 11 years ago
James Cammarata a969941b85 Merge branch 'devel' of https://github.com/brian-brazil/ansible into brian-brazil-devel 11 years ago
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>
11 years ago
Brian Brazil d25f1dc2d0 Use empty string rather than None to avoid TypeError
Improve error messages.
11 years ago
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.
11 years ago
Michael DeHaan 98500b335b Fixup shell handling in monit module. 11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
ryanaudiencepi cd6d4f70c0 Monit fix - Use case insensitive comparison 11 years ago
ryanaudiencepi 9da0ae2a1f Fix monit module. Monit restart bug 11 years ago
ryanaudiencepi c2e2d53a16 Fix monit module. Use lowercase letters check instead of uppercase 11 years ago
Shuhao Wu 0d2a3f1b0c Fixed monit restarted error.
Errors everytime...
11 years ago
Cristobal Rosa 51166c9cfa Remove unnecesary call 12 years ago
Cristobal Rosa cf48141a33 Fixed monit module. Ignore uppercase letters 12 years ago
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
12 years ago
Darryl Stoflet 0b53c711a6 Adding monit modules to start/stop/monitor/unmonitor process via monit 12 years ago