summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2008-04-22 11:35:05 +0200
committerMarcel Haerry <haerry@puzzle.ch>2008-04-22 11:35:05 +0200
commitb7d5281fa67ff330c28571c9b8df602acba65437 (patch)
tree14ce9205a9f50b055a43b78146bb2fbcc7e8de23 /manifests/init.pp
parentebdcae0d53a7ee50e2abb2f6606f731cb76c83e8 (diff)
parentff89c05910e5185a3c5cf47bd6f4e3f52596cf33 (diff)
merged davids
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp22
1 files changed, 15 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c4c4db0..b8fcd6f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,9 +1,17 @@
-#######################################
-# munin module
-# Puzzle ITC - haerry+puppet(at)puzzle.ch
-# GPLv3
-#######################################
+# munin.pp - everything a sitewide munin installation needs
+# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
+# See LICENSE for the full license granted to you.
+# adapted by Puzzle ITC - haerry+puppet(at)puzzle.ch
+#
+# the port is a parameter so vservers can share IP addresses and still be happy
+# Define where the individual nodes' configs are stored
+$NODESDIR="/var/lib/puppet/modules/munin/nodes"
-# modules_dir { "munin": }
-class munin {}
+modules_dir { [ "munin", "munin/nodes", "munin/plugins" ]: }
+
+import "host.pp"
+import "client.pp"
+import "plugin.pp"
+
+include assert_lsbdistcodename