]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/sysctl/recipes/default.rb
Don't use atomic updates for sysctl files
[chef.git] / cookbooks / sysctl / recipes / default.rb
index 02f753580f3fa2907fb0183629316a24356cd8fe..380e747b90610cf3443f93b2dc18e9ffd13e41ae 100644 (file)
@@ -46,6 +46,7 @@ node[:sysctl].each_value do |group|
 
     file sysctl_file do
       content "#{value}\n"
+      atomic_update false
       only_if { File.exists?(sysctl_file) }
     end
   end