X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9de17ece169e2c0f91c5545b328fc0cc2fc6a0f4..22bfa5e6f8152e492f21ae2c972a164474cfdd61:/cookbooks/letsencrypt/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/letsencrypt/recipes/default.rb b/cookbooks/letsencrypt/recipes/default.rb index 05b1c0fa8..a1df68190 100644 --- a/cookbooks/letsencrypt/recipes/default.rb +++ b/cookbooks/letsencrypt/recipes/default.rb @@ -17,6 +17,7 @@ # limitations under the License. # +include_recipe "accounts" include_recipe "apache" keys = data_bag_item("chef", "keys") @@ -147,6 +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"] } end end