X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ceada9024221218877e45b37e08f2f6632db5360..17f9f8c4e6424e3e2b0e05df2cdda64c3e42922a:/cookbooks/munin/recipes/default.rb?ds=sidebyside 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