replaced legace gsub method
authorMatthias Imsand <imsand@puzzle.ch>
Tue, 2 Feb 2010 10:29:09 +0000 (11:29 +0100)
committerMatthias Imsand <imsand@puzzle.ch>
Tue, 2 Feb 2010 10:29:09 +0000 (11:29 +0100)
manifests/plugins/interfaces.pp

index 0062678..35ef648 100644 (file)
@@ -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_";