X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6e3baefbe28ebff832a2bf5a5e8886fd79f31bbf..dd736ac22722e43e85209568c620308f6a7de362:/cookbooks/letsencrypt/recipes/default.rb diff --git a/cookbooks/letsencrypt/recipes/default.rb b/cookbooks/letsencrypt/recipes/default.rb index c41732cf6..92c78a51d 100644 --- a/cookbooks/letsencrypt/recipes/default.rb +++ b/cookbooks/letsencrypt/recipes/default.rb @@ -19,6 +19,7 @@ include_recipe "accounts" include_recipe "apache" +include_recipe "chef::knife" keys = data_bag_item("chef", "keys") @@ -148,7 +149,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