summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 6b6cd08aec4d2f1b9b3b607163986d36c3cfa564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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", "munin/nodes", "munin/plugins" ]: }

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

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