[tilelite] 01/01: Use debconf for configuration management (not finished)

Christopher Baines chris at cbaines.net
Sun Jun 14 17:39:58 UTC 2015


On 14/06/15 18:04, Christopher Baines wrote:
> This is an automated email from the git hooks/post-receive script.
> 
> cbaines-guest pushed a commit to branch debconf
> in repository tilelite.
> 
> commit 8fb5c22ec4551dd8d42a307a2905ff72b2905925
> Author: Christopher Baines <mail at cbaines.net>
> Date:   Sun Apr 26 11:09:30 2015 +0100
> 
>     Use debconf for configuration management (not finished)
>     
>     The aim of this is to give the user the option of having tilelite working once
>     the installation is finished.
>     
>     Currently the menu system is implemented, but the questions asked might not be
>     quite right, and the required configuration/user(s) are not created.
>     
>     When tilelite runs mapnik, it may need to connect to a database (probably
>     postgres). This may require running it as a specific user, or a user with
>     specific permissions. It may also write out cached files, that should go to the
>     appropriate Debian place.
>     
>     Supporting every possible configuration option is not sensible, however, I
>     believe it would be good for a user to be able to simply set up a tileserver
>     using tilelite, osm2pgsql and openstreetmap-carto. It might also be good to
>     have some other packages, perhaps openstreetmap-database that could help with
>     setting up a database with osm2pgsql and openstreetmap-carto, for use with
>     tilelite?
> ---
>  debian/config    | 315 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  debian/postinst  | 120 +++++++++++++++++++++
>  debian/postrm    |  40 +++++++
>  debian/rules     |   1 +
>  debian/templates |  85 +++++++++++++++
>  5 files changed, 561 insertions(+)

I have got somewhere now with tilelite and debconf (see the commit
message for some stuff also), although its coming to the point where
thought is needed about exactly wants supporting, and how packages might
interact (with regard to setting up a tileserver).

Ruben, do you have any input with regards to meta-packages?




More information about the Pkg-grass-devel mailing list