source: main/waeup.aaue/trunk/buildout-zeo.cfg @ 17870

Last change on this file since 17870 was 17697, checked in by Henrik Bettermann, 9 months ago

Add third client.

File size: 4.2 KB
RevLine 
[8035]1# A buildout configuration for a ZEO server and two ZEO clients.
2#
3[buildout]
4extends = buildout.cfg
5parts =
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]
48recipe = zc.zodbrecipes:server
49zeo.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]
79recipe = collective.recipe.template
80input = etc/zope_zeo1.conf.in
81output = ${buildout:parts-directory}/etc/zope_zeo1.conf
82filestorage = ${buildout:directory}/var/filestorage
83blobstorage = ${buildout:directory}/var/blobstorage
84logfiles = ${buildout:directory}/var/log
85extra =
86# extra = <grokwarnings>True</grokwarnings>
87# 'extra' is copied verbatim. Use it for product config sections and so.
88
89[zope_conf_zeo_2]
90recipe = collective.recipe.template
91input = etc/zope_zeo2.conf.in
92output = ${buildout:parts-directory}/etc/zope_zeo2.conf
93filestorage = ${buildout:directory}/var/filestorage
94blobstorage = ${buildout:directory}/var/blobstorage
95logfiles = ${buildout:directory}/var/log
96extra =
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]
101recipe = collective.recipe.template
102input = etc/zope_zeo3.conf.in
103output = ${buildout:parts-directory}/etc/zope_zeo3.conf
104filestorage = ${buildout:directory}/var/filestorage
105blobstorage = ${buildout:directory}/var/blobstorage
106logfiles = ${buildout:directory}/var/log
107extra =
108# extra = <grokwarnings>True</grokwarnings>
109# 'extra' is copied verbatim. Use it for product config sections and so.
110
[8035]111[zeo1_ini]
112recipe = collective.recipe.template
[11291]113input = etc/themed/zeo1.ini.in
114output = ${buildout:parts-directory}/etc/themed-zeo1.ini
[8035]115
116[zeo2_ini]
117recipe = collective.recipe.template
[11291]118input = etc/themed/zeo2.ini.in
119output = ${buildout:parts-directory}/etc/themed-zeo2.ini
[8035]120
[17697]121[zeo3_ini]
122recipe = collective.recipe.template
123input = etc/themed/zeo3.ini.in
124output = ${buildout:parts-directory}/etc/themed-zeo3.ini
125
[8035]126[zeo1_conf]
127recipe = collective.recipe.template
128input = etc/zeo1.conf.in
129output = ${buildout:parts-directory}/etc/zeo1.conf
130
131[zeo2_conf]
132recipe = collective.recipe.template
133input = etc/zeo2.conf.in
134output = ${buildout:parts-directory}/etc/zeo2.conf
135
[17697]136[zeo3_conf]
137recipe = collective.recipe.template
138input = etc/zeo3.conf.in
139output = ${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...
144recipe = zc.recipe.egg
[11291]145eggs = waeup.aaue [beaker, diazo]
[8035]146arguments = "${buildout:parts-directory}/etc/zeo1.conf"
147scripts = kofactl=zeo_client1
148
149[zeo_client2]
150# See http://pypi.python.org/pypi/zc.recipe.egg for details...
151recipe = zc.recipe.egg
[11291]152eggs = waeup.aaue [beaker, diazo]
[8035]153arguments = "${buildout:parts-directory}/etc/zeo2.conf"
154scripts = kofactl=zeo_client2
155
[17697]156[zeo_client3]
157# See http://pypi.python.org/pypi/zc.recipe.egg for details...
158recipe = zc.recipe.egg
159eggs = waeup.aaue [beaker, diazo]
160arguments = "${buildout:parts-directory}/etc/zeo3.conf"
161scripts = kofactl=zeo_client3
162
Note: See TracBrowser for help on using the repository browser.