Re: Handling instance specific configuration files with buildout
Hanno Schlichting <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Nov 18, 2009 at 1:29 PM, Charlie Clark <[email protected]> wrote: > There is, however, one thing I haven't quite worked out how to do is add > stuff to the instance's "etc" folder. We have some configuration files > which are instance specific which we have so far kept in in etc/config. Do > I need to create a recipe that does this for this part? We use this snippet for something similar: [link-extensions] recipe = plone.recipe.command command = for i in ${buildout:parts-directory}/instance*; do rm -rf $i/Extensions; ln -s ${buildout:directory}/Extensions $i/Extensions; done update-command = ${link-extensions:command} I'm sure you can adopt this to linking everything in ${buildout:directory}/config into the various parts/instance* directories. Hanno _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )