]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/default.rb
Install libpq-dev for the pg gem
[chef.git] / cookbooks / munin / recipes / default.rb
index 8769352c48400199a23228bd36a201bb483146e5..eac718fc004b2c23ab1e50be8246a53f334f449c 100644 (file)
@@ -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