source: main/waeup.uniben/trunk/buildout-zeo.cfg @ 17771

Last change on this file since 17771 was 17596, checked in by Henrik Bettermann, 15 months ago

Add one more Zeo 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
[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]
48recipe = zc.zodbrecipes:server
49zeo.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]
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
[17596]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
[11315]113input = etc/themed/zeo1.ini.in
114output = ${buildout:parts-directory}/etc/themed-zeo1.ini
[8035]115
116[zeo2_ini]
117recipe = collective.recipe.template
[11315]118input = etc/themed/zeo2.ini.in
119output = ${buildout:parts-directory}/etc/themed-zeo2.ini
[8035]120
[17596]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
[17596]136[zeo3_conf]
137recipe = collective.recipe.template
138input = etc/zeo3.conf.in
139output = ${buildout:parts-directory}/etc/zeo3.conf
[8035]140
141[zeo_client1]
142# See http://pypi.python.org/pypi/zc.recipe.egg for details...
143recipe = zc.recipe.egg
[11315]144eggs = waeup.uniben [beaker, diazo]
[8035]145arguments = "${buildout:parts-directory}/etc/zeo1.conf"
146scripts = kofactl=zeo_client1
147
148[zeo_client2]
149# See http://pypi.python.org/pypi/zc.recipe.egg for details...
150recipe = zc.recipe.egg
[11315]151eggs = waeup.uniben [beaker, diazo]
[8035]152arguments = "${buildout:parts-directory}/etc/zeo2.conf"
153scripts = kofactl=zeo_client2
154
[17596]155[zeo_client3]
156# See http://pypi.python.org/pypi/zc.recipe.egg for details...
157recipe = zc.recipe.egg
158eggs = waeup.uniben [beaker, diazo]
159arguments = "${buildout:parts-directory}/etc/zeo3.conf"
160scripts = kofactl=zeo_client3
Note: See TracBrowser for help on using the repository browser.