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