X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d7a070fcfd61fe0c43f81d9cfefe1e0ee96152ac..b0e841d7ff50e5c5bea3a3417737c272b09dcd86:/cookbooks/letsencrypt/recipes/default.rb diff --git a/cookbooks/letsencrypt/recipes/default.rb b/cookbooks/letsencrypt/recipes/default.rb index 834f215da..05b1c0fa8 100644 --- a/cookbooks/letsencrypt/recipes/default.rb +++ b/cookbooks/letsencrypt/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: letsencrypt +# Cookbook:: letsencrypt # Recipe:: default # -# Copyright 2017, OpenStreetMap Foundation +# Copyright:: 2017, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -150,7 +150,7 @@ certificates.each do |name, details| end end -Dir.each_child("/srv/acme.openstreetmap.org/requests") do |name| +Dir.glob("*", :base => "/srv/acme.openstreetmap.org/requests") do |name| next if certificates.include?(name) file "/srv/acme.openstreetmap.org/requests/#{name}" do