Puppet Class: munin::plugin::scriptpaths

Defined in:
manifests/plugin/scriptpaths.pp

Overview

Determine the script path for each OS



2
3
4
5
6
7
8
9
10
# File 'manifests/plugin/scriptpaths.pp', line 2

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' }
  }
}