This module manages installing, configuring and running processes using monit.
http://forge.puppetlabs.com/jbussdieker/monit
- 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.
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',
}