version up : slapos.toolbox 0.40.4.
[slapos.git] / stack / lapp / buildout.cfg
1 [buildout]
2
3 ignore-existing = true
4
5 parts =
6   slapos-cookbook
7   apache-php-postgres
8   rdiff-backup
9   dropbear
10   eggs
11   instance
12   psycopg2
13
14   instance-apache-php
15   instance-postgres
16
17 #Contains the importer and exporter recipes for postgres
18   instance-postgres-import
19   instance-postgres-export
20
21 #Contains the importer and exporter recipes for apache
22   instance-apache-import
23   instance-apache-export
24
25
26 extends =
27   ../../component/apache-php/buildout.cfg
28   ../../component/apache/buildout.cfg
29   ../../component/dash/buildout.cfg
30   ../../component/dcron/buildout.cfg
31   ../../component/gzip/buildout.cfg
32   ../../component/logrotate/buildout.cfg
33   ../../component/lxml-python/buildout.cfg
34   ../../component/postgresql/buildout.cfg
35   ../../component/rdiff-backup/buildout.cfg
36   ../../component/stunnel/buildout.cfg
37   ../../component/dropbear/buildout.cfg
38   ../resilient/buildout.cfg
39   ../slapos.cfg
40
41
42 #----------------
43 #-- Application-specific part (maarch, etc.)
44
45 [application]
46 recipe = hexagonit.recipe.download
47 # If the provided tarball does not contain top directory, this option should be changed to false
48 strip-top-level-dir = true
49
50
51 #----------------
52 #-- Instance-level buildout profiles.
53
54 [instance]
55 recipe = slapos.recipe.template
56 url = ${:_profile_base_location_}/instance.cfg.in
57 output = ${buildout:directory}/instance.cfg
58 md5sum = 25d07b5101d5f566398686642ada4cee
59 mode = 0644
60
61 [instance-apache-php]
62 recipe = slapos.recipe.template
63 url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
64 output = ${buildout:directory}/instance-apache-php.cfg
65 md5sum = 823257dda6f3068a38c6b69c771cf307
66 mode = 0644
67
68 [instance-apache-import]
69 recipe = slapos.recipe.template
70 url = ${:_profile_base_location_}/apache/instance-apache-import.cfg.in
71 output = ${buildout:directory}/instance-apache-import.cfg
72 md5sum = f1dc2a71d362b5d2d36481ffefdd2293
73 mode = 0644
74
75 [instance-apache-export]
76 recipe = slapos.recipe.template:jinja2
77 template = ${:_profile_base_location_}/apache/instance-apache-export.cfg.jinja2
78 rendered = ${buildout:directory}/instance-apache-export.cfg
79
80 context = key templateapache instance-apache-php:output
81           key templatepbsreadyexport pbsready-export:output
82
83 import-list = file parts template-parts:destination
84               file replicated template-replicated:destination
85
86 md5sum = bdc7e126567ece6bf93a9bb493e29fac
87 mode = 0644
88
89 [instance-resilient]
90 recipe = slapos.recipe.template:jinja2
91 template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
92 rendered = ${buildout:directory}/instance-resilient.cfg
93
94 context = key buildout buildout:bin-directory
95           key develop_eggs_directory buildout:develop-eggs-directory
96           key eggs_directory buildout:eggs-directory
97
98 import-list = file parts template-parts:destination
99               file replicated template-replicated:destination
100
101 md5sum = ef38aa9810ce20960382261f235abfcd
102 mode = 0644
103
104 [instance-postgres]
105 recipe = slapos.recipe.template
106 url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in
107 output = ${buildout:directory}/instance-postgres.cfg
108 md5sum = a2370d9a23e436166b20203f66412608
109 mode = 0644
110
111 [instance-postgres-import]
112 recipe = slapos.recipe.template
113 url = ${:_profile_base_location_}/postgres/instance-postgres-import.cfg.in
114 output = ${buildout:directory}/instance-postgres-import.cfg
115 md5sum = 7edfa157ddccc27e99bf128fc1c2b9ee
116 mode = 0644
117
118 [instance-postgres-export]
119 recipe = slapos.recipe.template
120 url = ${:_profile_base_location_}/postgres/instance-postgres-export.cfg.in
121 output = ${buildout:directory}/instance-postgres-export.cfg
122 md5sum = d95205a5fc2825e9709ed6db295111e2
123 mode = 0644
124
125
126 #----------------
127 #-- Postgres driver for Python recipes.
128
129 [psycopg2-env]
130 PATH = ${postgresql:location}/bin:%(PATH)s
131
132
133 [psycopg2]
134 recipe = zc.recipe.egg:custom
135 egg = psycopg2
136 define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
137 environment = psycopg2-env
138 include-dirs =
139     ${postgresql:location}/include
140 library-dirs =
141     ${postgresql:location}/lib
142 rpath = 
143     ${postgresql:location}/lib
144
145
146 #----------------
147 #--
148 #-- Optional part allowing applications using this stack to run a custom
149 #-- instance.cfg at the end of Apache/PHP instance deployment.
150 #-- To use it in your application, just override those two parameters, like:
151
152 [custom-application-deployment]
153 # path = /path/to/instance-custom.cfg
154 # part-list = part1 part2
155 # See software/maarch/software.cfg for an example.
156 path =
157 part-list =
158
159 #----------------
160 #-- Dummy parts in case no application configuration file is needed
161
162 [application-template]
163 filename =
164 location =
165
166 [application-configuration]
167 location =
168
169 #----------------
170
171 [eggs]
172 recipe = zc.recipe.egg
173 eggs =
174   ${lxml-python:egg}
175   ${psycopg2:egg}
176   slapos.toolbox
177
178 [versions]
179 apache-libcloud = 0.12.1
180 async = 0.6.1
181 cp.recipe.cmd = 0.4
182 gitdb = 0.5.4
183 plone.recipe.command = 1.1
184 pycrypto = 2.6
185 rdiff-backup = 1.0.5
186 slapos.recipe.download = 1.0.dev-r4053
187 slapos.recipe.template = 2.4.2
188 slapos.toolbox = 0.40.4
189 smmap = 0.8.2
190
191 # Required by:
192 # slapos.toolbox==0.40.2
193 GitPython = 0.3.2.RC1
194
195 # Required by:
196 # slapos.toolbox==0.40.2
197 atomize = 0.1.1
198
199 # Required by:
200 # slapos.toolbox==0.40.2
201 feedparser = 5.1.3
202
203 # Required by:
204 # slapos.toolbox==0.40.2
205 paramiko = 1.15.1
206
207 # Required by:
208 # slapos.recipe.maarch==0.4
209 psycopg2 = 2.4.6
210
211 # Required by:
212 # zope.testing==4.1.2
213 zope.exceptions = 4.0.6
214
215 # Required by:
216 # cp.recipe.cmd==0.4
217 zope.testing = 4.1.2