blob: afab5f109d18772cd98ff72379be25f9ec4ed8aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
# See LICENSE for the full license granted to you.
# Adapted and improved by admin(at)immerda.ch
# configure a munin node
# WARNING: this class should not be included directly. See the 'munin' class.
class munin::client {
case $::operatingsystem {
openbsd: { include munin::client::openbsd }
debian,ubuntu: { include munin::client::debian }
gentoo: { include munin::client::gentoo }
centos: { include munin::client::base }
default: { include munin::client::base }
}
if $munin::manage_shorewall {
class{'shorewall::rules::munin':
munin_port => $munin::port,
munin_collector => delete($munin::allow,'127.0.0.1'),
collector_source => $munin::shorewall_collector_source,
}
}
}
|