X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/918b2340b4a44045125b50525d432a1e2648eeb2..2447911751797f6d1d47e9c3f4a2e709e2326aba:/cookbooks/mediawiki/recipes/default.rb diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 61c761725..b9806477c 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -21,7 +21,6 @@ include_recipe "memcached" include_recipe "apache::ssl" include_recipe "mysql" include_recipe "git" -include_recipe "elasticsearch" # Mediawiki Base Requirements package "php5" @@ -45,6 +44,24 @@ package "poppler-utils" # Mediawiki backup package "xz-utils" +package "liblz4-tool" + +# Mediawiki packages for VisualEditor support +package "curl" +package "parsoid" + +template "/etc/mediawiki/parsoid/settings.js" do + source "parsoid-settings.js.erb" + owner "root" + group "root" + mode 0644 +end + +service "parsoid" do + action [:enable] + supports :status => false, :restart => true, :reload => false + subscribes :restart, "template[/etc/mediawiki/parsoid/settings.js]" +end link "/etc/php5/apache2/conf.d/20-wikidiff2.ini" do to "../../mods-available/wikidiff2.ini"