X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0950668153776b73b4e02a62d5435a77773cdde..bcc7d3796af2aa1bb18b17c1321f20ed5b17b964:/cookbooks/mediawiki/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 2f9437760..e3f45231f 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -66,19 +66,25 @@ package %w[ ] # Mediawiki packages for SyntaxHighight support -package "python-pygments" +package "python3-pygments" file "/etc/mediawiki/parsoid/settings.js" do action :delete end template "/etc/mediawiki/parsoid/config.yaml" do + action :nothing source "parsoid-config.yaml.erb" owner "root" group "root" mode "644" end +notify_group "parsoid-config" do + action :run + notifies :create, "template[/etc/mediawiki/parsoid/config.yaml]" +end + service "parsoid" do action [:enable] supports :status => false, :restart => true, :reload => false @@ -90,4 +96,6 @@ link "/etc/php/#{node[:php][:version]}/fpm/conf.d/20-wikidiff2.ini" do to "../../mods-available/wikidiff2.ini" end +apache_module "proxy" +apache_module "proxy_fcgi" apache_module "rewrite"