Add missing changes for mediawiki upgrades

This commit is contained in:
2020-09-05 23:43:28 +02:00
parent 7af26d6ad3
commit b7e2a72369
61 changed files with 1179 additions and 2252 deletions

View File

@@ -45,11 +45,6 @@ mediawiki_credentials = data_bag_item('credentials', 'mediawiki')
node.override['mediawiki']['db']['root_password'] = mysql_credentials["root_password"]
node.override['mediawiki']['db']['pass'] = mediawiki_credentials["db_pass"]
# Fix bug in php cookbook
if platform?('ubuntu') && node[:platform_version].to_f == 14.04
node.override['php']['ext_conf_dir'] = '/etc/php5/mods-available'
end
directory "#{node['mediawiki']['webdir']}/skins/common/images" do
owner node['nginx']['user']
group node['nginx']['group']
@@ -98,8 +93,7 @@ nginx_site server_name do
action :enable
end
# TODO
# nginx_certbot_site server_name
nginx_certbot_site server_name
#
# Extensions