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

@@ -7,9 +7,15 @@
include_recipe 'composer::install'
channel = if node['composer']['self_update_channel'].nil?
''
else
" --#{node['composer']['self_update_channel']}"
end
execute 'composer-self_update' do
cwd node['composer']['install_dir']
command 'composer self-update'
command 'composer self-update' + channel
environment 'COMPOSER_HOME' => Composer.home_dir(node)
action :run
ignore_failure true