]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
Fix new cookstyle warnings
[chef.git] / cookbooks / networking / recipes / default.rb
index c76d47e3e120bf91b4478b5f7e8d909dfeddf012..7bbf315057f5a67c2ad04ae85b1153a7ad655400 100644 (file)
@@ -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