]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/wiki.rb
Always try and re-render dirty or missing tiles
[chef.git] / cookbooks / foundation / recipes / wiki.rb
index f5347ee42c9825563dfcbb3a619f27bdbfa31a0e..f2d79513814c71a60956537fff1cc71c4c5d2a85 100644 (file)
@@ -21,9 +21,10 @@ include_recipe "mediawiki"
 
 passwords = data_bag_item("foundation", "passwords")
 
-mediawiki_site  "wiki.osmfoundation.org" do
+mediawiki_site "wiki.osmfoundation.org" do
   aliases "www.osmfoundation.org", "osmfoundation.org"
   directory "/srv/wiki.osmfoundation.org"
+  enable_ssl true
   database_name "osmf-wiki"
   database_username "osmf-wikiuser"
   database_password passwords["wiki"]["database"]
@@ -33,6 +34,8 @@ mediawiki_site  "wiki.osmfoundation.org" do
   email_sender "webmaster@openstreetmap.org"
   email_sender_name "OSMF Wiki"
   private_accounts true
+  recaptcha_public_key "6LflIQATAAAAAMXyDWpba-FgipVzE-aGF4HIR59N"
+  recaptcha_private_key passwords["wiki"]["recaptcha"]
 end
 
 cookbook_file "/srv/wiki.osmfoundation.org/Wiki.png" do