Puppet Class: role::ores
- Defined in:
- puppet/modules/role/manifests/ores.pp
Overview
Class: role::ores
Install the MediaWiki ORES extension and configure in test data mode. (To install the ORES service, use the ores_service role instead.)
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 |
# File 'puppet/modules/role/manifests/ores.pp', line 6
class role::ores {
include ::mysql
mediawiki::extension { 'ORES':
needs_update => true,
settings => {
wgOresBaseUrl => 'https://ores.wikimedia.org/',
# Point at some fake data with flat probability distribution.
wgOresWikiId => 'testwiki',
wgOresModels => {
damaging => {
enabled => true,
},
goodfaith => {
enabled => true,
},
reverted => {
enabled => false,
},
articlequality => {
enabled => false,
},
draftquality => {
enabled => false,
},
},
},
}
}
|