Puppet Class: profile::maps::apps
- Defined in:
- modules/profile/manifests/maps/apps.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'modules/profile/manifests/maps/apps.pp', line 2
class profile::maps::apps(
String $osm_engine = lookup('profile::maps::osm_master::engine', { 'default_value' => 'osm2pgsql' }),
String $pgsql_kartotherian_pass = lookup('profile::maps::osm_master::kartotherian_pass'),
String $kartotherian_storage_id = lookup('profile::maps::apps::kartotherian_storage_id'),
String $wikidata_query_service = lookup('profile::maps::apps::wikidata_query_service'),
) {
$osm_dir = $osm_engine ? {
'osm2pgsql' => '/srv/osmosis',
'imposm3' => '/srv/osm'
}
$contact_groups = 'admins,team-interactive'
class { 'kartotherian':
pgsql_pass => $pgsql_kartotherian_pass,
contact_groups => $contact_groups,
storage_id => $kartotherian_storage_id,
wikidata_query_service => $wikidata_query_service,
}
# those fonts are needed for the new maps style (brighmed)
ensure_packages(['fonts-noto', 'fonts-noto-cjk', 'fonts-noto-unhinted'])
}
|