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