summaryrefslogtreecommitdiff
path: root/manifests/plugin/scriptpaths.pp
blob: 2cad97b6d4d3927bc411842dea4ac8157e949101 (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" }
  }
}