Last change
on this file since 1417 was
1417,
checked in by mylan, 14 years ago
|
Fix bug with variable types in cheetah templates
|
File size:
584 bytes
|
Line | |
---|
1 | [buildout] |
---|
2 | extends = deployments_base.cfg |
---|
3 | parts += |
---|
4 | backends |
---|
5 | backend1 |
---|
6 | backend2 |
---|
7 | #for $i in range(3,9) |
---|
8 | \# backend$i |
---|
9 | #end for |
---|
10 | |
---|
11 | |
---|
12 | [config] |
---|
13 | http-address.1 = ${http_port_be1} |
---|
14 | #for $i in range(2,9) |
---|
15 | #set $be_port = int($http_port_be1)+$i-1 |
---|
16 | http-address.$i = $be_port |
---|
17 | #end for |
---|
18 | |
---|
19 | [backends] |
---|
20 | recipe = zc.recipe.macro |
---|
21 | result-recipe = plone.recipe.zope2instance |
---|
22 | macro = zeoc_template |
---|
23 | targets = |
---|
24 | #for $i in range(1,9) |
---|
25 | backend$i:backend$i-parameters |
---|
26 | #end for |
---|
27 | |
---|
28 | #for $i in range(1,9) |
---|
29 | [backend$i-parameters] |
---|
30 | http-address = \${config:http-address.$i} |
---|
31 | zeo-client-client = zeoc$i |
---|
32 | |
---|
33 | #end for |
---|
Note: See
TracBrowser
for help on using the repository browser.