summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-04-27 02:21:43 -0400
committerJesse Luehrs <doy@tozt.net>2020-04-27 02:21:43 -0400
commit5f8bbd65198ddebc6004a92d87d94456f68f201c (patch)
tree038dac0f882537a0afb7c8b77fc6b356e4c6b822 /modules
parent5d96a3969f0f870a692d9cb69eb066c22c4d7206 (diff)
downloadpuppet-tozt-5f8bbd65198ddebc6004a92d87d94456f68f201c.tar.gz
puppet-tozt-5f8bbd65198ddebc6004a92d87d94456f68f201c.zip
remove a no longer necessary workaround
Diffstat (limited to 'modules')
-rw-r--r--modules/munin/manifests/node.pp9
1 files changed, 0 insertions, 9 deletions
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'];
- }
}