Puppet Class: role::geodata_elastic
- Defined in:
- puppet/modules/role/manifests/geodata_elastic.pp
Overview
Class: role::geodata_elastic
GeoData is an extension that allows storing coordinates in articles and searching for them.
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'puppet/modules/role/manifests/geodata_elastic.pp', line 4
class role::geodata_elastic {
include ::role::geodata
include ::role::cirrussearch
mediawiki::settings { 'GeoData-elastic':
priority => $::load_last,
values => {
wgGeoDataBackend => 'elastic',
},
notify => Exec['force geodata index'],
}
mediawiki::maintenance { 'force geodata index':
command => '/usr/local/bin/foreachwikiwithextension CirrusSearch extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php --reindexAndRemoveOk --indexIdentifier now',
refreshonly => true,
}
}
|