]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/wiki.rb
Upgrade ironbelly to chef 12
[chef.git] / cookbooks / foundation / recipes / wiki.rb
index f5347ee42c9825563dfcbb3a619f27bdbfa31a0e..9033f98f53f2e96b81b708dcbdb3535f1e92cd69 100644 (file)
@@ -21,9 +21,11 @@ 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"
+  sitename "OpenStreetMap Foundation Wiki"
   directory "/srv/wiki.osmfoundation.org"
+  enable_ssl true
   database_name "osmf-wiki"
   database_username "osmf-wikiuser"
   database_password passwords["wiki"]["database"]
@@ -33,6 +35,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