X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/34666b81c1ff78ac49e2afb85f6cabf8742dfb4c..3880cdf3b6705bf237418122d0ba7fe26b1a27eb:/cookbooks/ssl/resources/certificate.rb?ds=sidebyside diff --git a/cookbooks/ssl/resources/certificate.rb b/cookbooks/ssl/resources/certificate.rb index b28b98f25..facb59ad7 100644 --- a/cookbooks/ssl/resources/certificate.rb +++ b/cookbooks/ssl/resources/certificate.rb @@ -8,7 +8,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -24,7 +24,7 @@ property :domains, [String, Array], :required => true action :create do node.default[:letsencrypt][:certificates][new_resource.certificate] = { - :domains => Array(domains) + :domains => Array(new_resource.domains) } if letsencrypt