diff options
author | mh <mh@immerda.ch> | 2012-06-05 19:39:49 -0300 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-06-05 19:39:49 -0300 |
commit | 9fd1de5acd9064a0d67ca9d2c13a829a3f628f39 (patch) | |
tree | eea2a9e6b54b733b9a5d2bdfeca9679f1a27a86d /manifests/plugins/interfaces.pp | |
parent | e710a3bfd1d24a9fa4fdb217609635fec616a6f7 (diff) |
new style for 2.7
Diffstat (limited to 'manifests/plugins/interfaces.pp')
-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 b2c448b..cc79259 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 { - $ifs = regsubst(split($interfaces, " |,"), "(.+)", "if_\\1") + $ifs = regsubst(split($::interfaces, " |,"), "(.+)", "if_\\1") munin::plugin { $ifs: ensure => "if_"; } case $::operatingsystem { openbsd: { - $if_errs = regsubst(split($interfaces, " |,"), "(.+)", "if_errcoll_\\1") + $if_errs = regsubst(split($::interfaces, " |,"), "(.+)", "if_errcoll_\\1") munin::plugin{ $if_errs: ensure => "if_errcoll_"; } } default: { - $if_errs = regsubst(split($interfaces, " |,"), "(.+)", "if_err_\\1") + $if_errs = regsubst(split($::interfaces, " |,"), "(.+)", "if_err_\\1") munin::plugin{ $if_errs: ensure => "if_err_"; } |