From: Tom Hughes Date: Sat, 11 Feb 2017 19:19:37 +0000 (+0000) Subject: Allow a certificate file to replace a symbolic link X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7b2a06ac356bfd11ef6e5cbf714aae47f553dc16 Allow a certificate file to replace a symbolic link --- diff --git a/cookbooks/ssl/resources/certificate.rb b/cookbooks/ssl/resources/certificate.rb index 01eedd80c..42957c798 100644 --- a/cookbooks/ssl/resources/certificate.rb +++ b/cookbooks/ssl/resources/certificate.rb @@ -40,6 +40,7 @@ action :create do mode 0o444 content certificate backup false + manage_symlink_source false end file "/etc/ssl/private/#{name}.key" do @@ -48,6 +49,7 @@ action :create do mode 0o440 content key backup false + manage_symlink_source false end elsif fallback_certificate link "/etc/ssl/certs/#{name}.pem" do