summaryrefslogtreecommitdiff
path: root/manifests/plugin/scriptpaths.pp
blob: 164a17e7728667fa2eac6794d65edca159f6cc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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" }
    }
}