summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorThomas Powell <powell@progress.com>2022-08-24 07:39:16 -0400
committerThomas Powell <powell@progress.com>2022-08-24 07:39:24 -0400
commit18c90bc6ec98498a4f8fb4249dde83a08f414883 (patch)
treea13268da8e5a61f804d4e3934dc3ab887e1b2110 /kitchen-tests
parent2f5dbd1ee69c970fc06870477dbbca6c5c3555c4 (diff)
downloadchef-18c90bc6ec98498a4f8fb4249dde83a08f414883.tar.gz
INFC-257 add atomic_update false
Signed-off-by: Thomas Powell <powell@progress.com>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/linux.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb
index 01268d320f..52b165d04c 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb
@@ -44,13 +44,11 @@ include_recipe "::_chef_gem"
include_recipe "ntp" unless fedora? # fedora 34+ doesn't have NTP
-# FIXME linux docker images seem to produce
-# EBUSY errors on moving or writing to /etc/resolv.conf
-#
-# resolver_config "/etc/resolv.conf" do
-# nameservers [ "8.8.8.8", "8.8.4.4" ]
-# search [ "chef.io" ]
-# end
+resolver_config "/etc/resolv.conf" do
+ nameservers [ "8.8.8.8", "8.8.4.4" ]
+ search [ "chef.io" ]
+ atomic_update false # otherwise EBUSY for linux docker containers
+end
users_from_databag = search("users", "*:*")