slapos stack: use new slapos.core 1.3.4 egg.
[slapos.git] / stack / lamp / buildout.cfg
1 [buildout]
2
3 ignore-existing = true
4
5 parts =
6   slapos-cookbook
7   apache-php
8   mariadb
9   mydumper
10   mysql-python
11   rdiff-backup
12   dropbear
13   eggs
14   instance
15
16   instance-apache-php
17   instance-mariadb
18
19 #Contains the importer and exporter recipes for mariadb
20   instance-mariadb-import
21   instance-mariadb-export
22
23 #Contains the importer and exporter recipes for apache
24   instance-apache-import
25   instance-apache-export
26
27
28 extends =
29   ../../component/apache-php/buildout.cfg
30   ../../component/apache/buildout.cfg
31   ../../component/curl/buildout.cfg
32   ../../component/dash/buildout.cfg
33   ../../component/dash/buildout.cfg
34   ../../component/dcron/buildout.cfg
35   ../../component/dropbear/buildout.cfg
36   ../../component/git/buildout.cfg
37   ../../component/glib/buildout.cfg
38   ../../component/gzip/buildout.cfg
39   ../../component/logrotate/buildout.cfg
40   ../../component/lxml-python/buildout.cfg
41   ../../component/mariadb/buildout.cfg
42   ../../component/mydumper/buildout.cfg
43   ../../component/mysql-python/buildout.cfg
44   ../../component/perl/buildout.cfg
45   ../../component/rdiff-backup/buildout.cfg
46   ../../component/sqlite3/buildout.cfg
47   ../../component/stunnel/buildout.cfg
48   ../../component/zlib/buildout.cfg
49   ../resilient/buildout.cfg
50   ../slapos.cfg
51
52
53 [mariadb]
54 # Compile dir is for plugins, there's no plugin in LAMP
55 keep-compile-dir = false
56
57 [application]
58 recipe = hexagonit.recipe.download
59 # If the provided tarball does not contain top directory, this option should be changed to false
60 strip-top-level-dir = true
61
62
63 #----------------
64 #-- Instance-level buildout profiles.
65
66 [instance]
67 recipe = slapos.recipe.template
68 url = ${:_profile_base_location_}/instance.cfg.in
69 output = ${buildout:directory}/instance.cfg
70 md5sum = 650cd2527158734fd6ccd9ec374b5e69
71 mode = 0644
72
73 [instance-apache-php]
74 recipe = slapos.recipe.template
75 url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
76 output = ${buildout:directory}/instance-apache-php.cfg
77 md5sum = b2564a719fdde097f402ef80e0991903
78 mode = 0644
79
80 [instance-apache-import]
81 recipe = slapos.recipe.template
82 url = ${:_profile_base_location_}/apache/instance-apache-import.cfg.in
83 output = ${buildout:directory}/instance-apache-import.cfg
84 md5sum = f1dc2a71d362b5d2d36481ffefdd2293
85 mode = 0644
86
87 [instance-apache-export]
88 recipe = slapos.recipe.template:jinja2
89 template = ${:_profile_base_location_}/apache/instance-apache-export.cfg.jinja2
90 rendered = ${buildout:directory}/instance-apache-export.cfg
91 extensions = jinja2.ext.do
92
93 context = key templateapache instance-apache-php:output
94           key templatepbsreadyexport pbsready-export:output
95
96 import-list = file parts template-parts:destination
97               file replicated template-replicated:destination
98
99 md5sum = 24c5d0db063e5343a3cb0db9d5fbc738
100 mode = 0644
101
102 [instance-resilient]
103 recipe = slapos.recipe.template:jinja2
104 template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
105 rendered = ${buildout:directory}/instance-resilient.cfg
106 extensions = jinja2.ext.do
107
108 context = key buildout buildout:bin-directory
109           key develop_eggs_directory buildout:develop-eggs-directory
110           key eggs_directory buildout:eggs-directory
111
112 import-list = file parts template-parts:destination
113               file replicated template-replicated:destination
114
115 md5sum = 5e2f917b032e43af6a736532966ae1f0
116 mode = 0644
117
118 [instance-mariadb]
119 recipe = slapos.recipe.template
120 url = ${:_profile_base_location_}/mariadb/instance-mariadb.cfg.in
121 output = ${buildout:directory}/instance-mariadb.cfg
122 md5sum = c328d11f76373f8c5928afedf2178afd
123 mode = 0644
124
125 [instance-mariadb-import]
126 recipe = slapos.recipe.template
127 url = ${:_profile_base_location_}/mariadb/instance-mariadb-import.cfg.in
128 output = ${buildout:directory}/instance-mariadb-import.cfg
129 md5sum = faf5826f4b27e362f34ad17db54b8c9a
130 mode = 0644
131
132 [instance-mariadb-export]
133 recipe = slapos.recipe.template
134 url = ${:_profile_base_location_}/mariadb/instance-mariadb-export.cfg.in
135 output = ${buildout:directory}/instance-mariadb-export.cfg
136 md5sum = 0352896921ca1766b64f0b54f0f8c27e
137 mode = 0644
138
139
140 #----------------
141 #--
142 #-- Optional part allowing applications using this stack to run a custom
143 #-- instance.cfg at the end of Apache/PHP instance deployment.
144 #-- To use it in your application, just override those two parameters, like:
145
146 [custom-application-deployment]
147 # path = /path/to/instance-custom.cfg
148 # part-list = part1 part2
149 # See software/maarch/software.cfg for an example.
150 path =
151 part-list =
152
153 #----------------
154 #-- Dummy parts in case no application configuration file is needed
155
156 [application-template]
157 filename =
158 location =
159
160 [application-configuration]
161 location =
162
163
164 [custom-application-deployment]
165 # Optional part allowing applications using this stack to run a custom
166 # instance.cfg at the end of Apache/PHP instance deployment.
167 # To use it in your application, just override those two parameters, like:
168 # path = /path/to/instance-custom.cfg
169 # part-list =
170 #  part1
171 #  part2
172 # See software/tt-rss/software.cfg for an example.
173 path =
174 part-list =
175
176
177 [eggs]
178 recipe = zc.recipe.egg
179 eggs =
180   ${lxml-python:egg}
181   slapos.toolbox[lampconfigure]
182
183 [versions]
184 MySQL-python = 1.2.4
185 apache-libcloud = 0.12.3
186 async = 0.6.1
187 gitdb = 0.5.4
188 pycrypto = 2.6
189 rdiff-backup = 1.0.5
190 slapos.recipe.download = 1.0.dev-r4053
191 slapos.recipe.template = 2.4.2
192 slapos.toolbox = 0.40.4
193 smmap = 0.8.2
194
195 # Required by:
196 # slapos.toolbox==0.40.2
197 GitPython = 0.3.2.RC1
198
199 # Required by:
200 # slapos.toolbox==0.40.2
201 atomize = 0.1.1
202
203 # Required by:
204 # slapos.toolbox==0.40.2
205 feedparser = 5.1.3
206
207 # Required by:
208 # slapos.toolbox==0.40.2
209 paramiko = 1.15.1