include brauchts
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Fri, 8 Feb 2008 11:31:56 +0000 (11:31 +0000)
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Fri, 8 Feb 2008 11:31:56 +0000 (11:31 +0000)
git-svn-id: https://rfd.cronopios.org/ipuppet/trunk/modules/munin@787 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/plugin.pp

index 5e0db81..dfd506f 100644 (file)
@@ -26,6 +26,7 @@ define munin::plugin (
        $config = '')
 {
 
+    include munin::plugin::scriptpaths
        $real_script_path = $script_path_in ? { '' => $munin::plugin::scriptpaths::script_path, default => $script_path_in }
 
        $plugin_src = $ensure ? { "present" => $name, default => $ensure }
@@ -189,6 +190,7 @@ define munin::plugin::deploy ($source = '', $enabled = 'true') {
         ''  =>  "munin/plugins/$name",
         default => $source
     }
+    include munin::plugin::scriptpaths
        debug ( "munin_plugin_${name}: name=$name, source=$source, script_path=$munin::plugin::scriptpaths::script_path" )
     file { "munin_plugin_${name}":
             path => "$munin::plugin::scriptpaths::script_path/${name}",