Enhancing the Debian/Ubuntu Zope infrastructure

Encolpe Degoute encolpe.degoute at free.fr
Fri Apr 20 11:26:03 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernd Zeimetz a écrit :
> Heya,
> 
> while packaging Zenoss I found that dzhandle/dh_installzope{,instance}
> are missing two features. Both ideas were discussed by Fabio
> Tranchitella and me, and we both find them very useful.
> 
>   - Support for mkzopeinstance.py's --skelsrc option. This allows to
> provide a skeleton dir, which is different from the default skeleton.
> Useful to install additional config files into the instance's etc
> directory, for example. I've committed a preliminary implementation of
> this to zope-debhelper and zope-common and it works fine so far (using
> "Skeleton: /some/dir" in dzinstance).

Skels aren't working for ZEO servers as zeo.conf is hardcoded in python
files. I wrote a patch for this in zope collector some years ago.

>   - Support for adding a default Zeo instance as / database while
> installing an instance the first time (or reinstalling after a purge).
> That's a bit more complicated to do, but not impossible. Please note
> that adding a Zeo instance can only be done in a sane way on the first
> install. Having one Zeo instance on the / mount point is a common use
> case and should be supported if a Zope instance needs it. If the admin
> wants to add more/other Zeo instances, he can do as he like - dzhandle
> won't mess with it. That's the way we think it should work:
>     * Define a default port for the Zeo instance in dzinstance
>     * While installing the admin is asked to specify the Zeo's port
> (like it is done with the Zope instance). The Zeo instance is created.
>     * dzhandle will now take the skeleton, copy it into a temporary
> directory and replace the <zodb_db main> entry by a valid entry for the
> Zeo instance which we have just created.
>     * The zope instance is installed using the modified skeleton.
> 
> 
> All inputs and opinions are very appreciated. If there are no major
> objections I will finish the implementation of these two additions.

Why do not use the instancemanager project which yet implements a lot of
these functionalities ?
http://svn.plone.org/svn/collective/instancemanager/

Regards,
- --
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGKKNKvFPzBBlIZMMRAouoAJ92xfHYQ76RdJHP+q7H+Q7OAJPNsACfa0Gg
fevNF8hukYRVDUD2zxFg3tc=
=ZbzK
-----END PGP SIGNATURE-----



More information about the pkg-zope-developers mailing list