]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ssl/recipes/default.rb
Avoid duplicate resource names for wordpress plugins and themes
[chef.git] / cookbooks / ssl / recipes / default.rb
index 6dcc02444d26b864b242a026f9c0eb5832ea1032..536110d3ecb5815248792d497c43f3c256419ec5 100644 (file)
@@ -20,7 +20,7 @@
 package "openssl"
 package "ssl-cert"
 
-%w(letsencrypt dhparam).each do |certificate|
+%w[letsencrypt dhparam].each do |certificate|
   cookbook_file "/etc/ssl/certs/#{certificate}.pem" do
     owner "root"
     group "root"
@@ -28,13 +28,3 @@ package "ssl-cert"
     backup false
   end
 end
-
-["openstreetmap", "tile.openstreetmap", "osmfoundation", "rapidssl", "startcom"].each do |certificate|
-  file "/etc/ssl/certs/#{certificate}.pem" do
-    action :delete
-  end
-
-  file "/etc/ssl/private/#{certificate}.key" do
-    action :delete
-  end
-end