From 87b7e02eaa1ee305d1ea2192873446ba479546b5 Mon Sep 17 00:00:00 2001 From: Matthias Imsand Date: Tue, 2 Feb 2010 11:29:09 +0100 Subject: replaced legace gsub method --- manifests/plugins/interfaces.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests/plugins') 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_"; -- cgit v1.2.3