openstreetmap / chef

Chef configuration management repo for configuring & maintaining the OpenStreetMap servers.
Apache License 2.0
97 stars 66 forks source link

nominatim: reorganise recipe for Debian installation #702

Closed lonvia closed 1 week ago

lonvia commented 1 week ago

This PR is mainly for information and documentation: I'm planning to move the Nominatim servers to Debian over the next few weeks.

The new recipe removes most of the on-server compilation: with Debian we can use a stock osm2pgsql from backports and Nominatim itself will be installed directly from Python packages. I shall maintain a private pip index with custom installations for the OSM production servers over at https://nominatim.org/data/osm-production with packages built from https://git.openstreetmap.org/nominatim.git. We can have a discussion about setting up a OWG pip repo instead, should there be more Python packages we want specifically for the production servers. It's not hard to do.

Also removes a lot of cruft: backups, using tablespaces, the ability to run a slave DB etc.

I tried to leave the recipe for Ubuntu in place and largely untouched and will remove the code once all servers run Debian.