]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/sysctl/recipes/default.rb
Add alerts for planet dumps and replication feeds
[chef.git] / cookbooks / sysctl / recipes / default.rb
index ae22a7b3b67dee6a0d46388f7278951b71c98182..f16537c5185c277d12897f8424bf8b6cf58575d9 100644 (file)
@@ -23,7 +23,8 @@ end
 
 if node[:virtualization][:role] != "guest" ||
    (node[:virtualization][:system] != "lxc" &&
 
 if node[:virtualization][:role] != "guest" ||
    (node[:virtualization][:system] != "lxc" &&
-    node[:virtualization][:system] != "lxd")
+    node[:virtualization][:system] != "lxd" &&
+    node[:virtualization][:system] != "openvz")
   keys = []
 
   Dir.new("/etc/sysctl.d").each_entry do |file|
   keys = []
 
   Dir.new("/etc/sysctl.d").each_entry do |file|