[8035] | 1 | # A buildout configuration for a ZEO server and two ZEO clients. |
---|
| 2 | # |
---|
| 3 | [buildout] |
---|
| 4 | extends = buildout.cfg |
---|
| 5 | parts = |
---|
| 6 | app |
---|
| 7 | i18n |
---|
| 8 | test |
---|
| 9 | mkdirs |
---|
| 10 | zpasswd |
---|
| 11 | zope_conf |
---|
| 12 | site_zcml |
---|
| 13 | zdaemon_conf |
---|
[11315] | 14 | raw_deploy_ini |
---|
| 15 | raw_debug_ini |
---|
| 16 | themed_deploy_ini |
---|
| 17 | themed_debug_ini |
---|
[8035] | 18 | profile_ini |
---|
| 19 | zeo1_ini |
---|
| 20 | zeo2_ini |
---|
[17596] | 21 | zeo3_ini |
---|
[8035] | 22 | coverage-detect |
---|
| 23 | coverage-report |
---|
| 24 | # kofactl creation must be _after_ app! |
---|
| 25 | kofactl |
---|
[11315] | 26 | lxml |
---|
| 27 | diazo |
---|
[8035] | 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 |
---|
[17596] | 36 | zope_conf_zeo_3 |
---|
[8035] | 37 | zeo1_ini |
---|
| 38 | zeo2_ini |
---|
[17596] | 39 | zeo3_ini |
---|
[8035] | 40 | zeo1_conf |
---|
| 41 | zeo2_conf |
---|
[17596] | 42 | zeo3_conf |
---|
[8035] | 43 | zeo_client1 |
---|
| 44 | zeo_client2 |
---|
[17596] | 45 | zeo_client3 |
---|
[8035] | 46 | |
---|
| 47 | [zeo_server] |
---|
| 48 | recipe = zc.zodbrecipes:server |
---|
| 49 | zeo.conf = |
---|
| 50 | <zeo> |
---|
[8770] | 51 | address ${kofa_params:server_port} |
---|
[8035] | 52 | </zeo> |
---|
| 53 | <blobstorage 1> |
---|
| 54 | blob-dir ${zope_conf:blobstorage} |
---|
| 55 | <filestorage 1> |
---|
| 56 | path ${zope_conf:filestorage}/Data.fs |
---|
| 57 | </filestorage> |
---|
| 58 | </blobstorage> |
---|
[9878] | 59 | <filestorage async> |
---|
| 60 | path ${zope_conf:filestorage}/Data.async.fs |
---|
| 61 | </filestorage> |
---|
[8035] | 62 | <eventlog> |
---|
| 63 | # This sets up logging to a file. |
---|
| 64 | # The "path" setting can be a relative or absolute |
---|
| 65 | # filesystem path. |
---|
| 66 | <logfile> |
---|
| 67 | path ${zope_conf:logfiles}/z3.log |
---|
| 68 | formatter zope.exceptions.log.Formatter |
---|
| 69 | </logfile> |
---|
| 70 | # This sets up logging to to standard output. |
---|
| 71 | # The "path" setting can be the tokens STDOUT or STDERR |
---|
| 72 | # <logfile> |
---|
| 73 | # path STDOUT |
---|
| 74 | # formatter zope.exceptions.log.Formatter |
---|
| 75 | # </logfile> |
---|
| 76 | </eventlog> |
---|
| 77 | |
---|
| 78 | [zope_conf_zeo_1] |
---|
| 79 | recipe = collective.recipe.template |
---|
| 80 | input = etc/zope_zeo1.conf.in |
---|
| 81 | output = ${buildout:parts-directory}/etc/zope_zeo1.conf |
---|
| 82 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 83 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 84 | logfiles = ${buildout:directory}/var/log |
---|
| 85 | extra = |
---|
| 86 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 87 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 88 | |
---|
| 89 | [zope_conf_zeo_2] |
---|
| 90 | recipe = collective.recipe.template |
---|
| 91 | input = etc/zope_zeo2.conf.in |
---|
| 92 | output = ${buildout:parts-directory}/etc/zope_zeo2.conf |
---|
| 93 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 94 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 95 | logfiles = ${buildout:directory}/var/log |
---|
| 96 | extra = |
---|
| 97 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 98 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 99 | |
---|
[17596] | 100 | [zope_conf_zeo_3] |
---|
| 101 | recipe = collective.recipe.template |
---|
| 102 | input = etc/zope_zeo3.conf.in |
---|
| 103 | output = ${buildout:parts-directory}/etc/zope_zeo3.conf |
---|
| 104 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 105 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 106 | logfiles = ${buildout:directory}/var/log |
---|
| 107 | extra = |
---|
| 108 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 109 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 110 | |
---|
[8035] | 111 | [zeo1_ini] |
---|
| 112 | recipe = collective.recipe.template |
---|
[11315] | 113 | input = etc/themed/zeo1.ini.in |
---|
| 114 | output = ${buildout:parts-directory}/etc/themed-zeo1.ini |
---|
[8035] | 115 | |
---|
| 116 | [zeo2_ini] |
---|
| 117 | recipe = collective.recipe.template |
---|
[11315] | 118 | input = etc/themed/zeo2.ini.in |
---|
| 119 | output = ${buildout:parts-directory}/etc/themed-zeo2.ini |
---|
[8035] | 120 | |
---|
[17596] | 121 | [zeo3_ini] |
---|
| 122 | recipe = collective.recipe.template |
---|
| 123 | input = etc/themed/zeo3.ini.in |
---|
| 124 | output = ${buildout:parts-directory}/etc/themed-zeo3.ini |
---|
| 125 | |
---|
[8035] | 126 | [zeo1_conf] |
---|
| 127 | recipe = collective.recipe.template |
---|
| 128 | input = etc/zeo1.conf.in |
---|
| 129 | output = ${buildout:parts-directory}/etc/zeo1.conf |
---|
| 130 | |
---|
| 131 | [zeo2_conf] |
---|
| 132 | recipe = collective.recipe.template |
---|
| 133 | input = etc/zeo2.conf.in |
---|
| 134 | output = ${buildout:parts-directory}/etc/zeo2.conf |
---|
| 135 | |
---|
[17596] | 136 | [zeo3_conf] |
---|
| 137 | recipe = collective.recipe.template |
---|
| 138 | input = etc/zeo3.conf.in |
---|
| 139 | output = ${buildout:parts-directory}/etc/zeo3.conf |
---|
[8035] | 140 | |
---|
| 141 | [zeo_client1] |
---|
| 142 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 143 | recipe = zc.recipe.egg |
---|
[11315] | 144 | eggs = waeup.uniben [beaker, diazo] |
---|
[8035] | 145 | arguments = "${buildout:parts-directory}/etc/zeo1.conf" |
---|
| 146 | scripts = kofactl=zeo_client1 |
---|
| 147 | |
---|
| 148 | [zeo_client2] |
---|
| 149 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 150 | recipe = zc.recipe.egg |
---|
[11315] | 151 | eggs = waeup.uniben [beaker, diazo] |
---|
[8035] | 152 | arguments = "${buildout:parts-directory}/etc/zeo2.conf" |
---|
| 153 | scripts = kofactl=zeo_client2 |
---|
| 154 | |
---|
[17596] | 155 | [zeo_client3] |
---|
| 156 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 157 | recipe = zc.recipe.egg |
---|
| 158 | eggs = waeup.uniben [beaker, diazo] |
---|
| 159 | arguments = "${buildout:parts-directory}/etc/zeo3.conf" |
---|
| 160 | scripts = kofactl=zeo_client3 |
---|