From 02d8ce3e402b34f838d3f449f048163b75b724e4 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 11 Mar 2016 10:48:12 -0800 Subject: this is a really, really bad setting to tweak people are actually doing this in order to work around issues with writing /etc/hosts in docker containers. they should seriously stop doing it and fix this problem in the cookbooks. --- chef-config/lib/chef-config/config.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 3a20469397..d2a4bddba0 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -703,6 +703,9 @@ module ChefConfig # Use atomic updates (i.e. move operation) while updating contents # of the files resources. When set to false copy operation is # used to update files. + # + # NOTE: CHANGING THIS SETTING MAY CAUSE CORRUPTION, DATA LOSS AND + # INSTABILITY. default :file_atomic_update, true # There are 3 possible values for this configuration setting. -- cgit v1.2.1