]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/default.rb
Allow all tilecache servers to sync to the log store
[chef.git] / cookbooks / munin / recipes / default.rb
index 8769352c48400199a23228bd36a201bb483146e5..41d722e0cdc64113ce703c9117f8423df1be0350 100644 (file)
@@ -101,7 +101,9 @@ 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")
+  package "conntrack"
+
   munin_plugin "fw_conntrack"
   munin_plugin "fw_forwarded_local"
 else