source: main/kofacustom.edocons/trunk/buildout-zeo.cfg @ 17839

Last change on this file since 17839 was 17321, checked in by Henrik Bettermann, 2 years ago

Adjust to base package.

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