summaryrefslogtreecommitdiff
path: root/manifests/plugin/scriptpaths.pp
blob: 62dd77b0825d126351a8403d87d3d609a4e40e98 (plain)
1
2
3
4
5
6
7
8
9
10
# 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 = '/usr/local/libexec/munin/plugins/' }
    default: { $script_path =  '/usr/share/munin/plugins' }
  }
}