diff options
author | duritong <peter.meier+github@immerda.ch> | 2013-09-05 07:18:01 -0700 |
---|---|---|
committer | duritong <peter.meier+github@immerda.ch> | 2013-09-05 07:18:01 -0700 |
commit | 0b30125704cc62d945a3d4327adf4870fc34cb88 (patch) | |
tree | f0d0149817ea6382292b5221ff96c614df3390b8 | |
parent | ec1fdda96d0cc52e4c6ea32913518da240c5af69 (diff) | |
parent | e6a975eb0ab7ef99479344b553ac2431555f5747 (diff) |
Merge pull request #18 from deric/master
plugin::deploy added to README
-rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -8,7 +8,7 @@ a very easy plugin interface. The munin homepage is http://munin.projects.linpro * puppet 2.7 or newer * install the `concat` and `stdlib` modules -- the munin module depends on functions that are defined and installed via these modules * you will need storedconfigs enabled in your puppet setup, to do that you need to add a line to your `puppet.conf` in your `[puppetmasterd]` section which says: - + storeconfigs=true * You may wish to immediately setup a `mysql`/ `pgsql` database for your storedconfigs, as @@ -75,3 +75,14 @@ a very easy plugin interface. The munin homepage is http://munin.projects.linpro class { 'munin::client': allow => '192.168.0.1', port => '4948' } + 6. For deploying plugins which are not available at client, you can fetch them from puppet + master using `munin::plugin::deploy`. + + munin::plugin::deploy { 'redis': + source => 'munin/plugins/redis/redis_', + config => '' # pass parameters to plugin + } + + In this example the file on master would be located in `{modulepath}/munin/files/plugins/redis/redis_`. + Module path is specified in `puppet.conf`, you can find out your `{modulepath}` easily by tying + in console `puppet config print modulepath`.
\ No newline at end of file |