]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/donate/recipes/default.rb
Remove a couple of requests for legacy certificates
[chef.git] / cookbooks / donate / recipes / default.rb
index b354a335aa5bf578ba72b6cdc50729a7ec2a24af..6cfde3722739edf9c9bc32a1896eaa8143f004fb 100644 (file)
@@ -17,8 +17,6 @@
 # limitations under the License.
 #
 
-node.default[:ssl][:certificates] = node[:ssl][:certificates] | ["openstreetmap"]
-
 include_recipe "apache::ssl"
 include_recipe "mysql"
 include_recipe "git"
@@ -82,6 +80,12 @@ template "/srv/donate.openstreetmap.org/scripts/db-connect.inc.php" do
   variables :passwords => passwords
 end
 
+ssl_certificate "donate.openstreetmap.org" do
+  domains ["donate.openstreetmap.org", "donate.openstreetmap.com",
+           "donate.openstreetmap.net", "donate.osm.org"]
+  notifies :reload, "service[apache2]"
+end
+
 apache_site "donate.openstreetmap.org" do
   template "apache.erb"
 end