summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2008-02-08 11:31:56 +0000
committerandreas <andreas@immerda.ch>2008-02-08 11:31:56 +0000
commit147a647235d39442255f04fbcc654dc1a1b4530d (patch)
tree1d7dea8d7e58280afcc423ccbb3f6d3a9ef2dcd2 /manifests/plugin.pp
parentcb805d53d162187edd03dcb2de8bfe0122d8fafe (diff)
include brauchts
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 5e0db81..dfd506f 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -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}",