Simplify LAMP stack(s) again, by using slapos.cfg stack
[slapos.git] / stack / lamp / buildout.cfg
1 [buildout]
2 parts =
3   apache-php
4   mariadb
5   mydumper
6   mysql-python
7   rdiff-backup
8   dropbear
9   eggs
10   instance-recipe-egg
11   template
12   template-apache-php
13   template-mariadb
14   template-mariadb-pbsready
15   template-mariadb-pbsready-import
16   template-mariadb-pbsready-export
17
18 extends =
19   ../../component/mariadb/buildout.cfg
20   ../../component/apache/buildout.cfg
21   ../../component/apache-php/buildout.cfg
22   ../../component/dcron/buildout.cfg
23   ../../component/git/buildout.cfg
24   ../../component/glib/buildout.cfg
25   ../../component/logrotate/buildout.cfg
26   ../../component/perl/buildout.cfg
27   ../../component/sqlite3/buildout.cfg
28   ../../component/lxml-python/buildout.cfg
29   ../../component/zlib/buildout.cfg
30   ../../component/rdiff-backup/buildout.cfg
31   ../../component/gzip/buildout.cfg
32   ../../component/stunnel/buildout.cfg
33   ../../component/mydumper/buildout.cfg
34   ../../component/mysql-python/buildout.cfg
35   ../../component/dropbear/buildout.cfg
36   ../slapos.cfg
37   ../../component/python-2.7/buildout.cfg
38 # python-2.7 component is here only for compatibility with old software.cfg.
39 # It is not needed and should not be used in LAMP-based software.cfg
40
41 versions = versions
42
43 [mariadb]
44 # Compile dir is for plugins, there's no plugin in LAMP
45 keep-compile-dir = false
46
47 [instance-recipe]
48 egg = slapos.cookbook
49 module = lamp.request
50
51 [instance-recipe-egg]
52 recipe = zc.recipe.egg
53 eggs = ${instance-recipe:egg}
54
55 [application]
56 recipe = hexagonit.recipe.download
57 #If provided tarball does not containt top directory this option shall be changed to false
58 strip-top-level-dir = true
59
60 [template]
61 recipe = slapos.recipe.template
62 url = ${:_profile_base_location_}/instance.cfg
63 output = ${buildout:directory}/template.cfg
64 md5sum = 8117f10e814a13c5376af4c01e6546d4
65 mode = 0644
66
67 [template-apache-php]
68 recipe = slapos.recipe.template
69 url = ${:_profile_base_location_}/instance-apache-php.cfg
70 output = ${buildout:directory}/template-apache-php.cfg
71 md5sum = 8ebed1e26127c066e5b69372e69e6c38
72 mode = 0644
73
74 [template-apache-backup]
75 recipe = slapos.recipe.template
76 url = ${:_profile_base_location_}/instance-apache-backup.cfg
77 output = ${buildout:directory}/template-apache-backup.cfg
78 md5sum = cfb77ac8785e0d125a785f69a5339014
79 mode = 0644
80
81 [template-backuped]
82 recipe = slapos.recipe.template
83 url = ${:_profile_base_location_}/instance-backuped.cfg
84 output = ${buildout:directory}/template-backuped.cfg
85 md5sum = f43d1c6412ea8dc83b75573dc00daf9e
86 mode = 0644
87
88 [template-mariadb]
89 recipe = slapos.recipe.template
90 url = ${:_profile_base_location_}/instance-mariadb.cfg
91 output = ${buildout:directory}/template-mariadb.cfg
92 md5sum = 70ab558c2e925c3627c39fbc20a7501c
93 mode = 0644
94
95 [template-mariadb-pbsready]
96 recipe = slapos.recipe.template
97 url = ${:_profile_base_location_}/instance-mariadb-pbsready.cfg
98 output = ${buildout:directory}/template-mariadb-pbsready.cfg
99 md5sum = d2a580dcd7efdd528be45c5ffadfe760
100 mode = 0644
101
102 [template-mariadb-pbsready-import]
103 recipe = slapos.recipe.template
104 url = ${:_profile_base_location_}/instance-mariadb-pbsready-import.cfg
105 output = ${buildout:directory}/template-mariadb-pbsready-import.cfg
106 md5sum = 4a96ff02da3898fef7077fa8baec81ac
107 mode = 0644
108
109 [template-mariadb-pbsready-export]
110 recipe = slapos.recipe.template
111 url = ${:_profile_base_location_}/instance-mariadb-pbsready-export.cfg
112 output = ${buildout:directory}/template-mariadb-pbsready-export.cfg
113 md5sum = 11a9e45e8bc590bc11bfdd304b07a4a5
114 mode = 0644
115
116 [template-pull-backup]
117 recipe = slapos.recipe.template
118 url = ${:_profile_base_location_}/instance-pull-backup.cfg
119 output = ${buildout:directory}/template-pull-backup.cfg
120 md5sum = 9aab30ba5aa23a37d4b507e7c414be00
121 mode = 0644
122
123 [eggs]
124 recipe = zc.recipe.egg
125 eggs =
126   ${lxml-python:egg}
127   slapos.toolbox