X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9de17ece169e2c0f91c5545b328fc0cc2fc6a0f4..605d99f67ad361a244d3ea699181aa14aca5d9ec:/cookbooks/letsencrypt/recipes/default.rb 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