summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: e1f62a6e9e4f46151aadb20542481c58dfb55301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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.
<<<<<<< HEAD:manifests/init.pp
# adapted by Puzzle ITC - haerry+puppet(at)puzzle.ch
#
=======

>>>>>>> immerda/master:manifests/init.pp
# 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", "munin/nodes", "munin/plugins" ]: }

import "host.pp"
import "client.pp"
import "plugin.pp"

case $operatingsystem {
    debian,ubuntu: { include assert_lsbdistcodename }
}