]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/recipes/default.rb
Make sure cgimap uses the writable database for updates
[chef.git] / cookbooks / mailman / recipes / default.rb
index 04c2281ed3b73cf71fa8dcd2829d16945c093739..ab70a0528bfa6ee11f925693fdee837e1f84d878 100644 (file)
@@ -42,12 +42,14 @@ apache_module "expires"
 apache_module "rewrite"
 
 ssl_certificate "lists.openstreetmap.org" do
-  domains "lists.openstreetmap.org"
+  domains ["lists.openstreetmap.org", "lists.osm.org"]
   notifies :reload, "service[apache2]"
 end
 
 apache_site "lists.openstreetmap.org" do
   template "apache.erb"
+  directory "/srv/lists.openstreetmap.org"
+  variables :aliases => ["lists.osm.org"]
 end
 
 template "/etc/cron.daily/lists-backup" do