]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/letsencrypt/recipes/default.rb
Fix new cookstyle warnings
[chef.git] / cookbooks / letsencrypt / recipes / default.rb
index c41732cf64bf28db7815c6a16b1cee68703aa325..a327119bf195974a2764a22490e9219111ace6e3 100644 (file)
@@ -148,7 +148,7 @@ certificates.each do |name, details|
     user "letsencrypt"
     group "letsencrypt"
     subscribes :run, "template[/srv/acme.openstreetmap.org/requests/#{name}]"
-    not_if { ENV["TEST_KITCHEN"] }
+    not_if { kitchen? }
   end
 end