fuel-library/deployment/puppet/monit/README.md
Bogdan Dobrelya 78523458bd Add puppet module for monit
v0.0.4 412cd738a0fd94cbd337053b2a8562928988679a
source git@github.com:jbussdieker/puppet-monit.git

Related blueprint pacemaker-improvements

Change-Id: I76c5ae198ae355d0ddaeaa627a50e2c230e932b9
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2014-10-02 16:47:01 +02:00

704 B

Monit Module

Build Status

This module manages installing, configuring and running processes using monit.

http://forge.puppetlabs.com/jbussdieker/monit

Parameters

  • ensure: running, stopped. default: running
  • start_command: Command line to start service.
  • stop_command: Command line to stop service.
  • pidfile: Location to find the pid file.

Usage

monit::process {'myapp':
  ensure        => running,
  start_command => '/etc/init.d/myapp start',
  stop_command  => '/etc/init.d/myapp stop',
  pidfile       => '/var/run/myapp/myapp.pid',
}