merge with lavamind
authormh <mh@immerda.ch>
Thu, 1 Jul 2010 02:43:09 +0000 (04:43 +0200)
committermh <mh@immerda.ch>
Thu, 1 Jul 2010 02:43:09 +0000 (04:43 +0200)
1  2 
manifests/plugin/scriptpaths.pp

@@@ -1,12 -1,9 +1,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 ? {
+         gentoo: { $script_path =  "/usr/libexec/munin/plugins" }
+         debian: { $script_path =  "/usr/share/munin/plugins" }
+         centos: { $script_path =  "/usr/share/munin/plugins" }
 -        openbsd: { $script_path =  "/opt/munin/lib/plugins/" }
++        openbsd: { $script_path = $operatingsystemrelease ? {
 +                                  '4.3' => '/opt/munin/lib/plugins/',
 +                                  default => '/usr/local/libexec/munin/plugins/'
-                } }
-       default: { $script_path =  '/usr/share/munin/plugins' }
++                  } }
+         default: { $script_path =  "/usr/share/munin/plugins" }
      }
  }