aboutsummaryrefslogtreecommitdiff
path: root/manifests/munin.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-18 00:16:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-18 00:16:58 -0200
commitf3ffa5c8fecd2afd180bf230c43278597bd00ef2 (patch)
tree09c383ca2b2801a61bfa3cb9511b4ff7ac6046d1 /manifests/munin.pp
parentc97080a44376393fc49c1d6920789757e03a3efc (diff)
downloadpuppet-nodo-f3ffa5c8fecd2afd180bf230c43278597bd00ef2.tar.gz
puppet-nodo-f3ffa5c8fecd2afd180bf230c43278597bd00ef2.tar.bz2
Trying to fix munin definitions
Diffstat (limited to 'manifests/munin.pp')
-rw-r--r--manifests/munin.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/munin.pp b/manifests/munin.pp
new file mode 100644
index 0000000..461a863
--- /dev/null
+++ b/manifests/munin.pp
@@ -0,0 +1,6 @@
+# Define a munin node with custom port
+define munin($type, $id) {
+ # Use one port for each node
+ $munin_port = "59$id"
+ include munin::client
+}