X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2d365e288323ccd05ac440a631185885d6bddc98..15a6ed4cd248aeb1c47ddc349ce6cc2172bf8489:/cookbooks/ssl/resources/certificate.rb diff --git a/cookbooks/ssl/resources/certificate.rb b/cookbooks/ssl/resources/certificate.rb index fc94d39de..c133491ed 100644 --- a/cookbooks/ssl/resources/certificate.rb +++ b/cookbooks/ssl/resources/certificate.rb @@ -21,7 +21,6 @@ default_action :create property :name, String property :domains, [String, Array], :required => true -property :fallback_certificate, String action :create do node.default[:letsencrypt][:certificates][name] = { @@ -53,14 +52,6 @@ action :create do manage_symlink_source false force_unlink true end - elsif fallback_certificate - link "/etc/ssl/certs/#{name}.pem" do - to "#{fallback_certificate}.pem" - end - - link "/etc/ssl/private/#{name}.key" do - to "#{fallback_certificate}.key" - end else template "/tmp/#{name}.ssl.cnf" do cookbook "ssl"