summaryrefslogtreecommitdiff
path: root/manifests/plugin/scriptpaths.pp
blob: 115644c6ee97b551b8eb4a5c8e8a516daf863509 (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' }
    }
}