blob: f0dac880bffdc92e36adc1006463b8e565ef2cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Define a munin node
define munin_node($port = '4949') {
case $global_munin_allow {
'': { fail("Please set \$global_munin_allow in your site config") }
}
$munin_allow = $node_munin_allow ? {
'' => $global_munin_allow,
default => $node_munin_allow,
}
$munin_port = $node_munin_port ? {
'' => $port
default => $node_munin_port,
}
include munin::client
}
|