summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorDavid Schmitt <david@dasz.at>2009-07-20 10:15:15 +0200
committerDavid Schmitt <david@dasz.at>2009-07-20 10:15:15 +0200
commit08156d7433c3052205a545951af7f0c5670a3a36 (patch)
treee8124773caade7e83f815f43b7261c013f3be349 /manifests
parent1868c2508f01c6b85f9086ddac00998521067fbc (diff)
Move interfaces fact to munin_interfaces
This is to avoid clashes with newer facter versions which bring their own interfaces fact.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp4
1 files changed, 2 insertions, 2 deletions
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_";