summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2013-09-05 07:18:01 -0700
committerduritong <peter.meier+github@immerda.ch>2013-09-05 07:18:01 -0700
commit0b30125704cc62d945a3d4327adf4870fc34cb88 (patch)
treef0d0149817ea6382292b5221ff96c614df3390b8
parentec1fdda96d0cc52e4c6ea32913518da240c5af69 (diff)
parente6a975eb0ab7ef99479344b553ac2431555f5747 (diff)
Merge pull request #18 from deric/master
plugin::deploy added to README
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ab9c86..9e4602e 100644
--- a/README.md
+++ b/README.md
@@ -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