Section: User Contributed Perl Documentation (3)
Munin::Node::Configure::History - Filtering plugins based on the version of
Munin they were first distributed with.
my $plugin = Munin::Node::Configure::History->new(
newer => '1.3.3',
history_file => 'plugins/plugins.history',
The 'history_file' argument is required, and should be the path to the plugin
history file. The 'newer' argument is optional, and should be the version of
the release before which plugins should be ignored.
Loads the plugin history from history_file. Dies if 'newer' didn't match a
valid release, or the file wasn't readable.
Takes a Munin::Node::Configure::Plugin object. Returns false unless the
plugin should be ignored, true otherwise (ie. if 'newer' wasn't set, the plugin
is user-contributed, etc).