1Munin::Node::Configure:U:sHeirstCoornyt(r3i)buted Perl DMoucnuimne:n:tNaotdieo:n:Configure::History(3)
2
3
4
6 Munin::Node::Configure::History - Filtering plugins based on the
7 version of Munin they were first distributed with.
8
10 my $plugin = Munin::Node::Configure::History->new(
11 newer => '1.3.3',
12 history_file => 'plugins/plugins.history',
13 );
14
16 new(%args)
17 Constructor.
18
19 The 'history_file' argument is required, and should be the path to
20 the plugin history file. The 'newer' argument is optional, and
21 should be the version of the release before which plugins should be
22 ignored.
23
24 load()
25 Loads the plugin history from history_file. Dies if 'newer' didn't
26 match a valid release, or the file wasn't readable.
27
28 too_old($plugin)
29 Takes a Munin::Node::Configure::Plugin object. Returns false
30 unless the plugin should be ignored, true otherwise (ie. if 'newer'
31 wasn't set, the plugin is user-contributed, etc).
32
33
34
35perl v5.34.0 2021-07-22Munin::Node::Configure::History(3)