diff options
author | Matthias Imsand <imsand@puzzle.ch> | 2010-02-02 11:29:09 +0100 |
---|---|---|
committer | Matthias Imsand <imsand@puzzle.ch> | 2010-02-02 11:29:09 +0100 |
commit | 87b7e02eaa1ee305d1ea2192873446ba479546b5 (patch) | |
tree | f6f44717e612ac2fbe2744f1517a2b5dded7b2e9 /manifests/plugins | |
parent | f34ff5e44d61edef9c7a5e243c623b4524012121 (diff) |
replaced legace gsub method
Diffstat (limited to 'manifests/plugins')
-rw-r--r-- | manifests/plugins/interfaces.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/plugins/interfaces.pp b/manifests/plugins/interfaces.pp index 0062678..35ef648 100644 --- a/manifests/plugins/interfaces.pp +++ b/manifests/plugins/interfaces.pp @@ -1,6 +1,7 @@ # handle if_ and if_err_ plugins class munin::plugins::interfaces inherits munin::plugins::base { + # replaced gsub with regsubst $ifs = regsubst(split($interfaces, " |,"), "(.+)", "if_\\1") munin::plugin { $ifs: ensure => "if_"; |