Puppet Class: role::proofreadpage
- Defined in:
- puppet/modules/role/manifests/proofreadpage.pp
Overview
Class: role::proofreadpage
Configures ProodreadPage, an extension to allow the proofreading of a text in comparison with scanned images.
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'puppet/modules/role/manifests/proofreadpage.pp', line 4
class role::proofreadpage {
include ::role::parserfunctions
include ::role::labeledsectiontransclusion
include ::role::cite
require_package('djvulibre-bin')
require_package('ghostscript')
require_package('netpbm')
php::ini { 'proofreadpage':
settings => {
upload_max_filesize => '50M',
post_max_size => '50M',
},
}
mediawiki::extension { 'ProofreadPage':
needs_update => true,
settings => [
'$wgEnableUploads = true',
'$wgFileExtensions[] = "djvu"',
'$wgFileExtensions[] = "pdf"',
'$wgDjvuDump = "djvudump"',
'$wgDjvuRenderer = "ddjvu"',
'$wgDjvuTxt = "djvutxt"',
'$wgDjvuPostProcessor = "ppmtojpeg"',
'$wgDjvuOutputExtension = "jpg"',
],
require => [
Package['djvulibre-bin', 'ghostscript', 'netpbm'],
Mediawiki::Extension['LabeledSectionTransclusion', 'Cite'],
],
}
}
|