![Jeremy Stanley](/assets/img/avatar_default.png)
Since we've already manually upgraded production to Ubuntu Trusty, let's start with a clean slate for now and just target latest Mediawiki on a fresh Trusty deployment. This simplifies or removes some of the conditional logic in this module. Change-Id: Ia8e74c85667719178c2f50b1458a9719582e8502
64 lines
1.5 KiB
Puppet
64 lines
1.5 KiB
Puppet
# Class: mediawiki::image_scaler
|
|
#
|
|
class mediawiki::image_scaler {
|
|
# No ffmpeg - it should work without? If it's needed it could be a pain
|
|
# as Ubuntu doesn't package it for trusty
|
|
package { [
|
|
'djvulibre-bin',
|
|
'ffmpeg2theora',
|
|
'fonts-arphic-ukai',
|
|
'fonts-arphic-uming',
|
|
'fonts-farsiweb',
|
|
'fonts-khmeros',
|
|
'fonts-lao',
|
|
'fonts-manchufont',
|
|
'fonts-mgopen',
|
|
'fonts-nafees',
|
|
'fonts-sil-abyssinica',
|
|
'fonts-sil-ezra',
|
|
'fonts-sil-padauk',
|
|
'fonts-takao-gothic',
|
|
'fonts-takao-mincho',
|
|
'fonts-thai-tlwg',
|
|
'fonts-tibetan-machine',
|
|
'ghostscript',
|
|
'gsfonts',
|
|
'imagemagick',
|
|
'libogg0',
|
|
'librsvg2-bin',
|
|
'libtheora0',
|
|
'libvips-tools',
|
|
'libvips37',
|
|
'libvorbisenc2',
|
|
'netpbm',
|
|
'oggvideotools',
|
|
'texlive-fonts-recommended',
|
|
'ttf-alee',
|
|
'ttf-arabeyes',
|
|
'ttf-bengali-fonts',
|
|
'ttf-devanagari-fonts',
|
|
'ttf-gujarati-fonts',
|
|
'ttf-kacst',
|
|
'ttf-kannada-fonts',
|
|
'ttf-liberation',
|
|
'ttf-linux-libertine',
|
|
'ttf-malayalam-fonts',
|
|
'ttf-oriya-fonts',
|
|
'ttf-punjabi-fonts',
|
|
'ttf-sil-scheherazade',
|
|
'ttf-sil-yi',
|
|
'ttf-tamil-fonts',
|
|
'ttf-ubuntu-font-family',
|
|
'ttf-unfonts-extra',
|
|
'ttf-wqy-zenhei',
|
|
'xfonts-100dpi',
|
|
'xfonts-75dpi',
|
|
'xfonts-base',
|
|
'xfonts-mplus',
|
|
'xfonts-scalable',
|
|
]:
|
|
ensure => present,
|
|
}
|
|
include ::tmpreaper
|
|
}
|