/README.rst

https://bitbucket.org/kanemathers/puppet-monit · ReStructuredText · 28 lines · 20 code · 8 blank · 0 comment · 0 complexity · 8c4eaba1755ffc88271c8165e80d7432 MD5 · raw file

  1. puppet monit module
  2. ===================
  3. This is a module for managing monit on puppet agents.
  4. Usage
  5. -----
  6. ``monit::init`` must be initialized with the ``alert`` parameter set. All other
  7. parameter are optional::
  8. class { 'monit':
  9. alert => 'you@domain.com',
  10. format => '{from: monit@server.com}'
  11. }
  12. Services
  13. ^^^^^^^^
  14. Services must be configured on the local machine. They can then be sourced
  15. using puppets fileserver (puppet:///)::
  16. monit::service { 'my-service':
  17. ensure => present,
  18. source => puppet:///modules/monit/files/services/apache,
  19. }
  20. .. note:: ./files/services/apache doesn't exist. It's just an example.