X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..22f20357a5fa17247d573014e417fab9f47d8ffc:/cookbooks/letsencrypt/recipes/default.rb diff --git a/cookbooks/letsencrypt/recipes/default.rb b/cookbooks/letsencrypt/recipes/default.rb index 92c8311de..5bc9e3313 100644 --- a/cookbooks/letsencrypt/recipes/default.rb +++ b/cookbooks/letsencrypt/recipes/default.rb @@ -124,7 +124,7 @@ certificates = search(:node, "letsencrypt:certificates").each_with_object({}) do n[:letsencrypt][:certificates].each do |name, details| c[name] ||= details.merge(:nodes => []) - c[name][:nodes] << { :name => n[:fqdn], :address => n[:ipaddress] } + c[name][:nodes] << { :name => n[:fqdn], :address => n.external_ipaddress } end end