From 2521bf14457f6377d1fef1185ef93e2ba91180d2 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Sat, 6 Oct 2007 10:11:47 +0200 Subject: common: remove hand made plugins install defines and use matt's plugins patch This moves all facts and puppet plugins to the plugins/ directory of modules to get the benefits of Matt's plugins patch, that distributes these files before the configuration is requested. This reduces the number of configuration runs to convergence by one. --- manifests/plugin.pp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'manifests') diff --git a/manifests/plugin.pp b/manifests/plugin.pp index fdb58ca..e7e22d1 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -81,22 +81,6 @@ class munin::plugins::base { notify => Service[munin-node]; } - puppet::fact{ - interfaces: - source => "puppet://$servername/munin/facter/interfaces.rb", - require => Package[iproute]; - } - case $vserver { - guest: {} - '': {} - default: { - puppet::fact{ - acpi_available: - source => "puppet://$servername/munin/facter/acpi_available.rb", - require => Package[acpi]; - } - } - } } # handle if_ and if_err_ plugins -- cgit v1.2.3