diff options
author | Simon Josi <josi@puzzle.ch> | 2010-01-27 17:07:42 +0100 |
---|---|---|
committer | Simon Josi <josi@puzzle.ch> | 2010-01-27 17:07:42 +0100 |
commit | f34ff5e44d61edef9c7a5e243c623b4524012121 (patch) | |
tree | 3b0683fc7fbfe2a78d934baa682cfd37a68d70bd /manifests/plugins | |
parent | 2ac60fb5804ba23d61e12f3bbd5454e82ead5ac3 (diff) |
upgrade to 0.25
Diffstat (limited to 'manifests/plugins')
-rw-r--r-- | manifests/plugins/interfaces.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/plugins/interfaces.pp b/manifests/plugins/interfaces.pp index 99b85ba..0062678 100644 --- a/manifests/plugins/interfaces.pp +++ b/manifests/plugins/interfaces.pp @@ -1,19 +1,19 @@ # handle if_ and if_err_ plugins class munin::plugins::interfaces inherits munin::plugins::base { - $ifs = gsub(split($interfaces, " |,"), "(.+)", "if_\\1") + $ifs = regsubst(split($interfaces, " |,"), "(.+)", "if_\\1") munin::plugin { $ifs: ensure => "if_"; } case $operatingsystem { openbsd: { - $if_errs = gsub(split($interfaces, " |,"), "(.+)", "if_errcoll_\\1") + $if_errs = regsubst(split($interfaces, " |,"), "(.+)", "if_errcoll_\\1") munin::plugin{ $if_errs: ensure => "if_errcoll_"; } } default: { - $if_errs = gsub(split($interfaces, " |,"), "(.+)", "if_err_\\1") + $if_errs = regsubst(split($interfaces, " |,"), "(.+)", "if_err_\\1") munin::plugin{ $if_errs: ensure => "if_err_"; } |