summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-17 16:40:54 -0400
committerMicah Anderson <micah@riseup.net>2013-04-17 16:40:54 -0400
commit503e9296860e4d844a1ee391331996db87e0bfa6 (patch)
tree4e4156f9e205092a568ae55c0d46cb074c4ae64a /README
parent8f7c0071eb82591477876eeb3f309067853a3261 (diff)
fix bad merge conflict resolution
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 3 insertions, 21 deletions
diff --git a/README b/README
index b386c66..ef3c2fd 100644
--- a/README
+++ b/README
@@ -29,27 +29,9 @@ To use this module, follow these directions:
a. Your modules directory will need all the files included in this repository placed
under a directory called "munin"
- b. add the following line to your modules.pp:
-
- import "munin"
-
- (NOTE: if you have followed the directions in README.common then you will have import
- "modules.pp" in your site.pp, if you do not have that, then you will need to add the
- import line to your site.pp)
-
- c. you will also need to create the following empty directories:
-
- mkdir -p /etc/puppet/modules/munin/files/nodes/modules_dir
- mkdir -p /etc/puppet/modules/munin/files/plugins/modules_dir
-
- d. Add to the top of your site.pp a variable which indicates what IP should be allowed to
- connect to your individual munin-nodes (this is typically your main munin host's IP):
-
- $munin_allow = '192.168.0.1/32'
-
- You can also put an array there.
-
- On pre-lenny systems, you have to use the older Regexp-variant:
+ b. For every host you wish to gather munin statistics, add the class munin::client to that
+ node. You will want to set the class parameter 'allow' to be the IP(s) of the munin
+ collector, this defines what IP is permitted to connect to the node, for example:
node foo {
class { 'munin::client': allow => '192.168.0.1'}