]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/donate/recipes/default.rb
SWitch OTRS to use postgres 9.5
[chef.git] / cookbooks / donate / recipes / default.rb
index 3fbeb19d5b92f87a2356cc1e98bbb1e076c2cc8e..1c0a436f0266f873a27f36d187691bfb499f3872 100644 (file)
@@ -78,7 +78,14 @@ template "/srv/donate.openstreetmap.org/scripts/db-connect.inc.php" do
   source "db-connect.inc.php.erb"
   owner "root"
   group "donate"
-  mode 0o640
+  mode 0o644
+  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