source: main/waeup.kofa/trunk/buildout-zeo.cfg @ 13405

Last change on this file since 13405 was 11710, checked in by Henrik Bettermann, 10 years ago

Remove unused ini.in files. Move zeo ini.in into themed.

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