[Zope-dev] Handling instance specific configuration files with buildout

Charlie Clark charlie.clark at clark-consulting.eu
Wed Nov 18 08:28:53 EST 2009


Am 18.11.2009, 14:19 Uhr, schrieb Chris Withers <chris at simplistix.co.uk>:

Hi Chris,

> You have a few options:
>  1 - just leave them as they are

I just need to link/copy from something parts/instance/etc/config to say  
src/config or downloads/config

2 - use collective.recipe.template or
> topp.recipes.cfgtemplate if you need to replace bits of the stuff in etc  
> with stuff from the buildout (such as the buildout directory)

I'll have a look at them as this might be the easiest.

> 3 - go the "deployment" route using zc.recipe.deployment where all  
> config ends up in buildout.cfg. For this, you do need a recipe for each  
> cfg file or group thereof.

hm, sort of makes sense configuring them in buildout but I still need them  
in parts/instance/etc/config. I guess I'll need to look at those, too.

> There are currently recipes for zeo servers and zeoraid servers, I'll be  
> doing one for Zope 2.12 "some time soon", which should suffice for Plone  
> too...

And presumably CMF!

Thanks

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-Dev mailing list