From 08156d7433c3052205a545951af7f0c5670a3a36 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Mon, 20 Jul 2009 10:15:15 +0200 Subject: Move interfaces fact to munin_interfaces This is to avoid clashes with newer facter versions which bring their own interfaces fact. --- manifests/plugin.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/plugin.pp') diff --git a/manifests/plugin.pp b/manifests/plugin.pp index 85fa444..87259f7 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -88,8 +88,8 @@ class munin::plugins::base { # handle if_ and if_err_ plugins class munin::plugins::interfaces inherits munin::plugins::base { - $ifs = gsub(split($interfaces, " "), "(.+)", "if_\\1") - $if_errs = gsub(split($interfaces, " "), "(.+)", "if_err_\\1") + $ifs = gsub(split($munin_interfaces, " "), "(.+)", "if_\\1") + $if_errs = gsub(split($munin_interfaces, " "), "(.+)", "if_err_\\1") plugin { $ifs: ensure => "if_"; $if_errs: ensure => "if_err_"; -- cgit v1.2.3