From 5f8bbd65198ddebc6004a92d87d94456f68f201c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 27 Apr 2020 02:21:43 -0400 Subject: remove a no longer necessary workaround --- modules/munin/manifests/node.pp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'modules') diff --git a/modules/munin/manifests/node.pp b/modules/munin/manifests/node.pp index d2ae67b..b58d7c2 100644 --- a/modules/munin/manifests/node.pp +++ b/modules/munin/manifests/node.pp @@ -26,13 +26,4 @@ class munin::node { notify => Exec["/usr/bin/systemctl daemon-reload"], require => File["/etc/systemd/system/munin-node.service.d"]; } - - # XXX backport a fix since the arch linux package is out of date - # this can be removed once the arch package upgrades to at least 2.0.28 - exec { 'fix munin if plugin speed calculation': - provider => shell, - command => "sed -i 's/if \\[\\[ -n \"\$SPEED\" ]]; then/if [[ \"\$SPEED\" -gt 0 ]]; then/' /usr/lib/munin/plugins/if_", - onlyif => "grep -qF 'if [[ -n \"\$SPEED\" ]]; then' /usr/lib/munin/plugins/if_", - require => Package['munin-node']; - } } -- cgit v1.2.3-54-g00ecf