[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 |
---|
[11291] | 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 |
---|
[17697] | 21 | zeo3_ini |
---|
[8035] | 22 | coverage-detect |
---|
| 23 | coverage-report |
---|
| 24 | # kofactl creation must be _after_ app! |
---|
| 25 | kofactl |
---|
[11291] | 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 |
---|
[17697] | 36 | zope_conf_zeo_3 |
---|
[8035] | 37 | zeo1_ini |
---|
| 38 | zeo2_ini |
---|
[17697] | 39 | zeo3_ini |
---|
[8035] | 40 | zeo1_conf |
---|
| 41 | zeo2_conf |
---|
[17697] | 42 | zeo3_conf |
---|
[8035] | 43 | zeo_client1 |
---|
| 44 | zeo_client2 |
---|
[17697] | 45 | zeo_client3 |
---|
[8035] | 46 | |
---|
| 47 | [zeo_server] |
---|
| 48 | recipe = zc.zodbrecipes:server |
---|
| 49 | zeo.conf = |
---|
| 50 | <zeo> |
---|
[8771] | 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> |
---|
[9887] | 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 | |
---|
[17697] | 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 |
---|
[11291] | 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 |
---|
[11291] | 118 | input = etc/themed/zeo2.ini.in |
---|
| 119 | output = ${buildout:parts-directory}/etc/themed-zeo2.ini |
---|
[8035] | 120 | |
---|
[17697] | 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 | |
---|
[17697] | 136 | [zeo3_conf] |
---|
| 137 | recipe = collective.recipe.template |
---|
| 138 | input = etc/zeo3.conf.in |
---|
| 139 | output = ${buildout:parts-directory}/etc/zeo3.conf |
---|
[8035] | 140 | |
---|
[17697] | 141 | |
---|
[8035] | 142 | [zeo_client1] |
---|
| 143 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 144 | recipe = zc.recipe.egg |
---|
[11291] | 145 | eggs = waeup.aaue [beaker, diazo] |
---|
[8035] | 146 | arguments = "${buildout:parts-directory}/etc/zeo1.conf" |
---|
| 147 | scripts = kofactl=zeo_client1 |
---|
| 148 | |
---|
| 149 | [zeo_client2] |
---|
| 150 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 151 | recipe = zc.recipe.egg |
---|
[11291] | 152 | eggs = waeup.aaue [beaker, diazo] |
---|
[8035] | 153 | arguments = "${buildout:parts-directory}/etc/zeo2.conf" |
---|
| 154 | scripts = kofactl=zeo_client2 |
---|
| 155 | |
---|
[17697] | 156 | [zeo_client3] |
---|
| 157 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 158 | recipe = zc.recipe.egg |
---|
| 159 | eggs = waeup.aaue [beaker, diazo] |
---|
| 160 | arguments = "${buildout:parts-directory}/etc/zeo3.conf" |
---|
| 161 | scripts = kofactl=zeo_client3 |
---|
| 162 | |
---|