X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4e5bc4659c9a2238471b93256da213a17d57cdf6..b52a55582446c7639f6727db470a9ba4d6ba7c1b:/cookbooks/wiki/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index 96cbacaa9..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,8 +61,14 @@ 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