more comments; changed superuser name
[slapos.git] / stack / lapp / buildout.cfg
1 [buildout]
2 parts =
3   slapos-cookbook
4   apache-php-postgres
5   rdiff-backup
6   dropbear
7   eggs
8   instance
9   psycopg2
10
11   instance-apache-php
12   instance-postgres
13
14 #Contains the importer and exporter recipes for postgres
15   instance-postgres-import
16   instance-postgres-export
17
18   instance-default-root
19
20
21 extends =
22   ../resilient/buildout.cfg
23   ../../component/apache/buildout.cfg
24   ../../component/apache-php/buildout.cfg
25   ../../component/dash/buildout.cfg
26   ../../component/dcron/buildout.cfg
27   ../../component/gzip/buildout.cfg
28   ../../component/logrotate/buildout.cfg
29   ../../component/lxml-python/buildout.cfg
30   ../../component/postgresql/buildout.cfg
31   ../../component/rdiff-backup/buildout.cfg
32   ../../component/stunnel/buildout.cfg
33   ../../component/dropbear/buildout.cfg
34   ../slapos.cfg
35
36
37 #----------------
38 #-- Application-specific part (maarch, etc.)
39
40 [application]
41 recipe = hexagonit.recipe.download
42 # If the provided tarball does not contain top directory, this option should be changed to false
43 strip-top-level-dir = true
44
45
46 #----------------
47 #-- Instance-level buildout profiles.
48
49 [instance]
50 recipe = slapos.recipe.template
51 url = ${:_profile_base_location_}/instance.cfg.in
52 output = ${buildout:directory}/instance.cfg
53 md5sum = 1aaf3ea7b14e09e66904bdb80e3cfe2f
54 mode = 0644
55
56 [instance-apache-php]
57 recipe = slapos.recipe.template
58 url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
59 output = ${buildout:directory}/instance-apache-php.cfg
60 md5sum = 3e4b7c176a7de23843f77261d88dd0b8
61 mode = 0644
62
63 [instance-apache-backup]
64 recipe = slapos.recipe.template
65 url = ${:_profile_base_location_}/apache/instance-apache-backup.cfg.in
66 output = ${buildout:directory}/instance-apache-backup.cfg
67 md5sum = db879141c0b6a77ef8b3b7e699f5583a
68 mode = 0644
69
70 [template-resilient-lapp]
71 recipe = slapos.recipe.template:jinja2
72 template = ${:_profile_base_location_}/template-resilient.cfg.in
73 rendered = ${buildout:directory}/instance-resilient.cfg
74
75 context = key templateapache instance-apache-php:output
76           key dropbear dropbear:location
77           key buildout buildout:bin-directory
78
79 import-list = file parts template-parts:destination
80               file replicated template-replicated:destination
81
82 md5sum = 525f50e60d0a96557a552de6afa4ab88
83 mode = 0644
84  
85
86 [instance-postgres]
87 recipe = slapos.recipe.template
88 url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in
89 output = ${buildout:directory}/instance-postgres.cfg
90 md5sum = 42b92fb4905e2903caca327feddb5141
91 mode = 0644
92
93 [instance-postgres-import]
94 recipe = slapos.recipe.template
95 url = ${:_profile_base_location_}/postgres/instance-postgres-import.cfg.in
96 output = ${buildout:directory}/instance-postgres-import.cfg
97 md5sum = 7edfa157ddccc27e99bf128fc1c2b9ee
98 mode = 0644
99
100 [instance-postgres-export]
101 recipe = slapos.recipe.template
102 url = ${:_profile_base_location_}/postgres/instance-postgres-export.cfg.in
103 output = ${buildout:directory}/instance-postgres-export.cfg
104 md5sum = 68080e5d861eb3474442211dd65c668b
105 mode = 0644
106
107
108 #----------------
109 #-- Postgres driver for Python recipes.
110
111 [psycopg2-env]
112 PATH = ${postgresql:location}/bin:%(PATH)s
113
114
115 [psycopg2]
116 recipe = zc.recipe.egg:custom
117 egg = psycopg2
118 define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
119 environment = psycopg2-env
120 include-dirs =
121     ${postgresql:location}/include
122 library-dirs =
123     ${postgresql:location}/lib
124 rpath = 
125     ${postgresql:location}/lib
126
127 [instance-default-root]
128 recipe = slapos.recipe.template
129 url = ${:_profile_base_location_}/instance-default-root.cfg.in
130 output = ${buildout:directory}/instance-default-root.cfg
131 md5sum = 53c9020f7a0b5203f976e069e455787b
132 mode = 0644
133
134 #----------------
135 #--
136 #-- Optional part allowing applications using this stack to run a custom
137 #-- instance.cfg at the end of Apache/PHP instance deployment.
138 #-- To use it in your application, just override those two parameters, like:
139
140 [custom-application-deployment]
141 # path = /path/to/instance-custom.cfg
142 # part-list = part1 part2
143 # See software/maarch/software.cfg for an example.
144 path =
145 part-list =
146
147 #----------------
148 #-- Dummy parts in case no application configuration file is needed
149
150 [application-template]
151 filename =
152 location =
153
154 [application-configuration]
155 location =
156
157 #----------------
158
159 [eggs]
160 recipe = zc.recipe.egg
161 eggs =
162   ${lxml-python:egg}
163   ${psycopg2:egg}
164   slapos.toolbox
165   cns.recipe.symlink
166
167
168 [versions]
169 Jinja2 = 2.6
170 Werkzeug = 0.8.3
171 apache-libcloud = 0.11.4
172 async = 0.6.1
173 buildout-versions = 1.7
174 cns.recipe.symlink = 0.2.3
175 gitdb = 0.5.4
176 hexagonit.recipe.cmmi = 1.6
177 inotifyx = 0.2.0
178 lxml = 3.0.2
179 meld3 = 0.6.10
180 netaddr = 0.7.10
181 psycopg2 = 2.4.6
182 pycrypto = 2.6
183 pytz = 2012h
184 rdiff-backup = 1.0.5
185 slapos.recipe.download = 1.0.dev-r4053
186 slapos.recipe.template = 2.4.2
187 smmap = 0.8.2
188
189 # Required by:
190 # slapos.core==0.33.2-dev
191 # slapos.toolbox==0.32.1-dev
192 Flask = 0.9
193
194 # Required by:
195 # slapos.toolbox==0.32.1-dev
196 GitPython = 0.3.2.RC1
197
198 # Required by:
199 # slapos.toolbox==0.32.1-dev
200 atomize = 0.1.1
201
202 # Required by:
203 # slapos.toolbox==0.32.1-dev
204 feedparser = 5.1.3
205
206 # Required by:
207 # hexagonit.recipe.cmmi==1.6
208 hexagonit.recipe.download = 1.6
209
210 # Required by:
211 # slapos.core==0.33.2-dev
212 netifaces = 0.8
213
214 # Required by:
215 # slapos.toolbox==0.32.1-dev
216 paramiko = 1.9.0
217
218 # Required by:
219 # slapos.toolbox==0.32.1-dev
220 psutil = 0.6.1
221
222 # Required by:
223 # slapos.core==0.33.2-dev
224 pyflakes = 0.5.0
225
226 # Required by:
227 # cns.recipe.symlink==0.2.3
228 # slapos.cookbook==0.70.1-dev
229 # slapos.core==0.33.2-dev
230 # slapos.toolbox==0.32.1-dev
231 # supervisor==3.0b1
232 # zc.buildout==1.6.0-dev-SlapOS-010
233 # zope.interface==4.0.2
234 setuptools = 0.6c12dev-r88846
235
236 # Required by:
237 # slapos.core==0.33.2-dev
238 supervisor = 3.0b1
239
240 # Required by:
241 # slapos.toolbox==0.32.1-dev
242 xml-marshaller = 0.9.7
243
244 # Required by:
245 # slapos.core==0.33.2-dev
246 zope.interface = 4.0.2
247