PageRenderTime 23ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/README.rst

https://bitbucket.org/kanemathers/puppet-monit
ReStructuredText | 28 lines | 20 code | 8 blank | 0 comment | 0 complexity | 8c4eaba1755ffc88271c8165e80d7432 MD5 | raw file
 1puppet monit module
 2===================
 3
 4This is a module for managing monit on puppet agents.
 5
 6Usage
 7-----
 8
 9``monit::init`` must be initialized with the ``alert`` parameter set. All other
10parameter are optional::
11
12    class { 'monit':
13        alert  => 'you@domain.com',
14        format => '{from: monit@server.com}'
15    }
16
17Services
18^^^^^^^^
19
20Services must be configured on the local machine. They can then be sourced
21using puppets fileserver (puppet:///)::
22
23    monit::service { 'my-service':
24        ensure => present,
25        source => puppet:///modules/monit/files/services/apache,
26    }
27
28.. note:: ./files/services/apache doesn't exist. It's just an example.