X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ceada9024221218877e45b37e08f2f6632db5360..8f92d91cd927eb8bf0e6c02d80a726345665f3d5:/cookbooks/munin/recipes/default.rb diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index 8769352c4..eac718fc0 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -101,7 +101,7 @@ munin_plugin "diskstats" munin_plugin "entropy" munin_plugin "forks" -if File.exists?("/proc/net/ip_conntrack") or File.exists?("/proc/net/nf_conntrack") +if node[:kernel][:modules].include?("nf_conntrack") munin_plugin "fw_conntrack" munin_plugin "fw_forwarded_local" else