Jeremy Stanley b321a9229e Fetch external dependencies
The "vendor" subdirectory of the wiki tree is expected to contain
all MediaWiki's external dependencies which are no longer carried
within its core Git repository. The documentation on how to populate
it can be found here:

https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries

I'm not thrilled by the idea of running an application which creates
a directory within the Git worktree, but at least it and the other
trashfiles it creates are tracked in the .gitignore so shouldn't
pose a problem for updating the repository state.

Change-Id: I81ac4ff371346c217d760390a02139dfae82332f
2019-10-15 17:37:10 +00:00

20 lines
365 B
Puppet

# Class: mediawiki::php
#
class mediawiki::php {
package { [
'composer', # used by fetch_external_libraries in mediawiki::app
'php',
'php-apcu',
'php-cli',
'php-intl',
'php-mbstring',
'php-memcached',
'php-mysql',
'php-openid',
'php-xml',
]:
ensure => present,
}
# TODO: apc configuration
}