summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-08-04 09:38:17 +0000
committermh <mh@immerda.ch>2008-08-04 09:38:17 +0000
commitb0c793fefc5f1fcfc3f4ac646803bb8aedfbc5d9 (patch)
tree8b4c157bb02257d673fc7075d7f0a502df66c579
parent422c0e53ec096d20fe5314e1cae85b5de1f18893 (diff)
adding , as a seperator, as facter 1.5 seems to seperate liket that
-rw-r--r--manifests/plugin.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 4940eaf..741de30 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -168,8 +168,8 @@ class munin::plugins::base {
# handle if_ and if_err_ plugins
class munin::plugins::interfaces inherits munin::plugins::base {
- $ifs = gsub(split($interfaces, " "), "(.+)", "if_\\1")
- $if_errs = gsub(split($interfaces, " "), "(.+)", "if_err_\\1")
+ $ifs = gsub(split($interfaces, " |,"), "(.+)", "if_\\1")
+ $if_errs = gsub(split($interfaces, " |,"), "(.+)", "if_err_\\1")
munin::plugin {
$ifs: ensure => "if_";
$if_errs: ensure => "if_err_";