diff options
author | mh <mh@immerda.ch> | 2008-05-11 13:22:49 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-05-11 13:22:49 +0000 |
commit | aaef921ce2aae19356104872482219117288043f (patch) | |
tree | 1a33e9e6c4af64ba0442151bae962e444de88225 | |
parent | d1c04771e56a63d5c91cac2c8b0aa9bbdbbcffa6 (diff) |
fixed absent pluginsource
-rw-r--r-- | manifests/plugin.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp index 6a92c56..91b0178 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -93,7 +93,11 @@ define munin::remoteplugin($ensure = "present", $source, $config = '') { } } define munin::plugin::deploy ($source = '', $ensure = 'present', $config = '') { - $plugin_src = $ensure ? { "present" => $name, default => $ensure } + $plugin_src = $ensure ? { + 'present' => $name, + 'absent' => $name, + default => $ensure + } $real_source = $source ? { '' => "munin/plugins/$plugin_src", default => $source |