X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/81266af8b7a16edf5d4a30399b8365682c1d225a..7e5e5ba26f4a5b06fad5d1a1049df947e8a9cf00:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index c76d47e3e..7bbf31505 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -321,7 +321,7 @@ template "/etc/hosts" do owner "root" group "root" mode "644" - not_if { ENV["TEST_KITCHEN"] } + not_if { kitchen? } end service "systemd-resolved" do