X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/db8d46b7feeaefdb105dd0ed9c6d0d0084250b92..05b2488c54d93007fbe394a37b859a8c9ad253f3:/cookbooks/wiki/recipes/default.rb diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index 55eebc2a4..a5b5a8098 100644 --- a/cookbooks/wiki/recipes/default.rb +++ b/cookbooks/wiki/recipes/default.rb @@ -23,6 +23,8 @@ include_recipe "mediawiki" passwords = data_bag_item("wiki", "passwords") +package "lua5.1" # newer versions do not work with Scribuntu! + apache_site "default" do action [:disable] end @@ -59,6 +61,16 @@ mediawiki_extension "MobileFrontend" do template "mw-ext-MobileFrontend.inc.php.erb" end +mediawiki_extension "CodeEditor" do + site "wiki.openstreetmap.org" +end + +mediawiki_extension "Scribunto" do + site "wiki.openstreetmap.org" + template "mw-ext-Scribunto.inc.php.erb" + template_cookbook "wiki" +end + cookbook_file "/srv/wiki.openstreetmap.org/osm_logo_wiki.png" do owner node[:mediawiki][:user] group node[:mediawiki][:group]