[8035] | 1 | # A buildout configuration for a ZEO server and two ZEO clients. |
---|
| 2 | # |
---|
| 3 | [buildout] |
---|
| 4 | extends = buildout.cfg |
---|
| 5 | parts = |
---|
| 6 | eggbasket |
---|
| 7 | app |
---|
| 8 | i18n |
---|
| 9 | test |
---|
| 10 | mkdirs |
---|
| 11 | zpasswd |
---|
| 12 | zope_conf |
---|
| 13 | site_zcml |
---|
| 14 | zdaemon_conf |
---|
[11135] | 15 | raw_deploy_ini |
---|
| 16 | raw_debug_ini |
---|
| 17 | themed_deploy_ini |
---|
| 18 | themed_debug_ini |
---|
[8035] | 19 | profile_ini |
---|
| 20 | zeo1_ini |
---|
| 21 | zeo2_ini |
---|
| 22 | waeupdocs |
---|
| 23 | coverage-detect |
---|
| 24 | coverage-report |
---|
| 25 | # kofactl creation must be _after_ app! |
---|
| 26 | kofactl |
---|
[11135] | 27 | lxml |
---|
| 28 | diazo |
---|
[8035] | 29 | # For backward compatibility, telling buildout not to throw away |
---|
| 30 | # the data and log subdirectories from the parts directory. |
---|
| 31 | data |
---|
| 32 | log |
---|
| 33 | |
---|
| 34 | zeo_server |
---|
| 35 | zope_conf_zeo_1 |
---|
| 36 | zope_conf_zeo_2 |
---|
| 37 | zeo1_ini |
---|
| 38 | zeo2_ini |
---|
| 39 | zeo1_conf |
---|
| 40 | zeo2_conf |
---|
| 41 | zeo_client1 |
---|
| 42 | zeo_client2 |
---|
| 43 | |
---|
| 44 | [zeo_server] |
---|
| 45 | recipe = zc.zodbrecipes:server |
---|
| 46 | zeo.conf = |
---|
| 47 | <zeo> |
---|
[8772] | 48 | address ${kofa_params:server_port} |
---|
[8035] | 49 | </zeo> |
---|
| 50 | <blobstorage 1> |
---|
| 51 | blob-dir ${zope_conf:blobstorage} |
---|
| 52 | <filestorage 1> |
---|
| 53 | path ${zope_conf:filestorage}/Data.fs |
---|
| 54 | </filestorage> |
---|
| 55 | </blobstorage> |
---|
[9884] | 56 | <filestorage async> |
---|
| 57 | path ${zope_conf:filestorage}/Data.async.fs |
---|
| 58 | </filestorage> |
---|
[8035] | 59 | <eventlog> |
---|
| 60 | # This sets up logging to a file. |
---|
| 61 | # The "path" setting can be a relative or absolute |
---|
| 62 | # filesystem path. |
---|
| 63 | <logfile> |
---|
| 64 | path ${zope_conf:logfiles}/z3.log |
---|
| 65 | formatter zope.exceptions.log.Formatter |
---|
| 66 | </logfile> |
---|
| 67 | # This sets up logging to to standard output. |
---|
| 68 | # The "path" setting can be the tokens STDOUT or STDERR |
---|
| 69 | # <logfile> |
---|
| 70 | # path STDOUT |
---|
| 71 | # formatter zope.exceptions.log.Formatter |
---|
| 72 | # </logfile> |
---|
| 73 | </eventlog> |
---|
| 74 | |
---|
| 75 | [zope_conf_zeo_1] |
---|
| 76 | recipe = collective.recipe.template |
---|
| 77 | input = etc/zope_zeo1.conf.in |
---|
| 78 | output = ${buildout:parts-directory}/etc/zope_zeo1.conf |
---|
| 79 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 80 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 81 | logfiles = ${buildout:directory}/var/log |
---|
| 82 | extra = |
---|
| 83 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 84 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 85 | |
---|
| 86 | [zope_conf_zeo_2] |
---|
| 87 | recipe = collective.recipe.template |
---|
| 88 | input = etc/zope_zeo2.conf.in |
---|
| 89 | output = ${buildout:parts-directory}/etc/zope_zeo2.conf |
---|
| 90 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 91 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 92 | logfiles = ${buildout:directory}/var/log |
---|
| 93 | extra = |
---|
| 94 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 95 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 96 | |
---|
| 97 | [zeo1_ini] |
---|
| 98 | recipe = collective.recipe.template |
---|
[11148] | 99 | input = etc/themed/zeo1.ini.in |
---|
| 100 | output = ${buildout:parts-directory}/etc/themed-zeo1.ini |
---|
[8035] | 101 | |
---|
| 102 | [zeo2_ini] |
---|
| 103 | recipe = collective.recipe.template |
---|
[11148] | 104 | input = etc/themed/zeo2.ini.in |
---|
| 105 | output = ${buildout:parts-directory}/etc/themed-zeo2.ini |
---|
[8035] | 106 | |
---|
| 107 | [zeo1_conf] |
---|
| 108 | recipe = collective.recipe.template |
---|
| 109 | input = etc/zeo1.conf.in |
---|
| 110 | output = ${buildout:parts-directory}/etc/zeo1.conf |
---|
| 111 | |
---|
| 112 | [zeo2_conf] |
---|
| 113 | recipe = collective.recipe.template |
---|
| 114 | input = etc/zeo2.conf.in |
---|
| 115 | output = ${buildout:parts-directory}/etc/zeo2.conf |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | [zeo_client1] |
---|
| 119 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 120 | recipe = zc.recipe.egg |
---|
[11135] | 121 | eggs = waeup.kwarapoly [beaker, diazo] |
---|
[8035] | 122 | arguments = "${buildout:parts-directory}/etc/zeo1.conf" |
---|
| 123 | scripts = kofactl=zeo_client1 |
---|
| 124 | |
---|
| 125 | [zeo_client2] |
---|
| 126 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 127 | recipe = zc.recipe.egg |
---|
[11135] | 128 | eggs = waeup.kwarapoly [beaker, diazo] |
---|
[8035] | 129 | arguments = "${buildout:parts-directory}/etc/zeo2.conf" |
---|
| 130 | scripts = kofactl=zeo_client2 |
---|
| 131 | |
---|