diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2008-08-04 11:35:02 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2008-08-04 11:35:02 +0200 |
commit | 2e0061641a88eb54eba316c47a4caa24ecbd9ce2 (patch) | |
tree | 48182f14c614cc92aac7b40a8f6763e91069c0fa /manifests | |
parent | cdecebc6cb9720e50e3a5be91ce7c38814a330bc (diff) |
adding , as a seperator, as facter 1.5 seems to seperate liket that
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/plugin.pp | 4 |
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_"; |