blob: 2e3211782549bfa33828b0cd479dd8dd3d72bef0 (
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
}
|