Puppet Class: kartotherian
- Defined in:
- modules/kartotherian/manifests/init.pp
Overview
SPDX-License-Identifier: Apache-2.0 Class: kartotherian
This class installs and configures kartotherian
While only being a thin wrapper around service::node, this class exists to accomodate future kartotherian needs that are not suited for the service module classes as well as conform to a de-facto standard of having a module for every service
Parameters
- conf_sources
-
Sources that will be added to the configuration file of the service. This defines the data transformation pipeline for the tile services. The actual file is loaded from the root of the source code directory. (/srv/deployment/kartotherian/deploy/src/) Default: 'sources.prod.yaml'
- contact_groups
-
Contact groups for alerting. Default: 'admins'
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'modules/kartotherian/manifests/init.pp', line 25
class kartotherian(
String $pgsql_pass,
String $storage_id,
String $wikidata_query_service,
String $contact_groups = 'admins',
Stdlib::Port $port = 6533,
String $num_workers = 'ncpu',
String $pgsql_user = 'kartotherian',
) {
ensure_packages(['libmapnik3.0'])
service::node { 'kartotherian':
port => $port,
deployment => 'scap3',
deployment_config => true,
deployment_vars => {
geoshapes_user => $pgsql_user,
geoshapes_password => $pgsql_pass,
osmdb_password => $pgsql_pass,
osmdb_user => $pgsql_user,
storage_id => $storage_id,
wikidata_query_service => $wikidata_query_service,
},
has_spec => true,
healthcheck_url => '',
contact_groups => $contact_groups,
}
}
|