blob: f31f38d9614bc268104bdc92503afdb4f7a0184d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Determine the script path for each OS
class munin::plugin::scriptpaths {
case $::operatingsystem {
gentoo: { $script_path = '/usr/libexec/munin/plugins' }
debian: { $script_path = '/usr/share/munin/plugins' }
centos: { $script_path = '/usr/share/munin/plugins' }
openbsd: { $script_path = $::operatingsystemrelease ? {
'4.3' => '/opt/munin/lib/plugins/',
default => '/usr/local/libexec/munin/plugins/',
} }
default: { $script_path = '/usr/share/munin/plugins' }
}
}
|