buildout.cfg 5.42 KB
Newer Older
1
[buildout]
2 3 4

ignore-existing = true

5
parts =
6
  slapos-cookbook
7 8 9
  apache-php
  mariadb
  mydumper
10
  python-mysqlclient
11 12
  rdiff-backup
  dropbear
13
  eggs
14
  instance
15

16
  instance-apache-php
17
  instance-mariadb
18 19

#Contains the importer and exporter recipes for mariadb
20 21
  instance-mariadb-import
  instance-mariadb-export
22

23 24 25 26
#Contains the importer and exporter recipes for apache
  instance-apache-import
  instance-apache-export

Marco Mariani's avatar
Marco Mariani committed
27

28 29
extends =
  ../../component/apache-php/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
30 31 32
  ../../component/apache/buildout.cfg
  ../../component/curl/buildout.cfg
  ../../component/dash/buildout.cfg
33
  ../../component/dash/buildout.cfg
34
  ../../component/dcron/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
35
  ../../component/dropbear/buildout.cfg
36 37
  ../../component/git/buildout.cfg
  ../../component/glib/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
38
  ../../component/gzip/buildout.cfg
39 40
  ../../component/logrotate/buildout.cfg
  ../../component/lxml-python/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
41
  ../../component/mariadb/buildout.cfg
42
  ../../component/mydumper/buildout.cfg
43
  ../../component/python-mysqlclient/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
44 45 46 47 48 49
  ../../component/perl/buildout.cfg
  ../../component/rdiff-backup/buildout.cfg
  ../../component/sqlite3/buildout.cfg
  ../../component/stunnel/buildout.cfg
  ../../component/zlib/buildout.cfg
  ../resilient/buildout.cfg
50
  ../slapos.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
51

52

53 54 55 56
[mariadb]
# Compile dir is for plugins, there's no plugin in LAMP
keep-compile-dir = false

57 58
[application]
recipe = hexagonit.recipe.download
59
ignore-existing = true
60
# If the provided tarball does not contain top directory, this option should be changed to false
61 62
strip-top-level-dir = true

63 64 65 66

#----------------
#-- Instance-level buildout profiles.

67
[instance]
68
recipe = slapos.recipe.template
69 70
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
71
md5sum = 650cd2527158734fd6ccd9ec374b5e69
72 73
mode = 0644

74
[instance-apache-php]
75
recipe = slapos.recipe.template
76 77
url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
output = ${buildout:directory}/instance-apache-php.cfg
78
md5sum = 5800e365e200240e33defea9561c0b23 
79 80
mode = 0644

81
[instance-apache-import]
82
recipe = slapos.recipe.template
83 84
url = ${:_profile_base_location_}/apache/instance-apache-import.cfg.in
output = ${buildout:directory}/instance-apache-import.cfg
85
md5sum = f1dc2a71d362b5d2d36481ffefdd2293
86 87 88 89 90 91
mode = 0644

[instance-apache-export]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/apache/instance-apache-export.cfg.jinja2
rendered = ${buildout:directory}/instance-apache-export.cfg
92
extensions = jinja2.ext.do
93 94 95 96 97 98 99

context = key templateapache instance-apache-php:output
          key templatepbsreadyexport pbsready-export:output

import-list = file parts template-parts:destination
              file replicated template-replicated:destination

100
md5sum = 00068d0f68a9e1eb5a6e89e73a3dc399
101 102
mode = 0644

103
[instance-resilient]
104
recipe = slapos.recipe.template:jinja2
105
template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
106
rendered = ${buildout:directory}/instance-resilient.cfg
107
extensions = jinja2.ext.do
108

109 110 111
context = key buildout buildout:bin-directory
          key develop_eggs_directory buildout:develop-eggs-directory
          key eggs_directory buildout:eggs-directory
112 113

import-list = file parts template-parts:destination
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
114
              file replicated template-replicated:destination
115

116
md5sum = f171782b98c1143d44ec2a35d8259254
117 118
mode = 0644

119
[instance-mariadb]
120
recipe = slapos.recipe.template
121 122
url = ${:_profile_base_location_}/mariadb/instance-mariadb.cfg.in
output = ${buildout:directory}/instance-mariadb.cfg
123
md5sum = 1d3022164dd70efe374a179ef319e0eb 
124 125
mode = 0644

126
[instance-mariadb-import]
127
recipe = slapos.recipe.template
128 129
url = ${:_profile_base_location_}/mariadb/instance-mariadb-import.cfg.in
output = ${buildout:directory}/instance-mariadb-import.cfg
130
md5sum = faf5826f4b27e362f34ad17db54b8c9a
131 132
mode = 0644

133
[instance-mariadb-export]
134
recipe = slapos.recipe.template
135 136
url = ${:_profile_base_location_}/mariadb/instance-mariadb-export.cfg.in
output = ${buildout:directory}/instance-mariadb-export.cfg
137
md5sum = d17228a2708cbb39dc00945a93e0740d
138 139
mode = 0644

140

141 142 143 144 145 146 147 148 149 150 151 152 153
#----------------
#--
#-- Optional part allowing applications using this stack to run a custom
#-- instance.cfg at the end of Apache/PHP instance deployment.
#-- To use it in your application, just override those two parameters, like:

[custom-application-deployment]
# path = /path/to/instance-custom.cfg
# part-list = part1 part2
# See software/maarch/software.cfg for an example.
path =
part-list =

154 155
#----------------
#-- Dummy parts in case no application configuration file is needed
Marco Mariani's avatar
Marco Mariani committed
156

157 158 159 160 161 162 163
[application-template]
filename =
location =

[application-configuration]
location =

164 165 166 167 168 169 170 171 172 173 174 175 176

[custom-application-deployment]
# Optional part allowing applications using this stack to run a custom
# instance.cfg at the end of Apache/PHP instance deployment.
# To use it in your application, just override those two parameters, like:
# path = /path/to/instance-custom.cfg
# part-list =
#  part1
#  part2
# See software/tt-rss/software.cfg for an example.
path =
part-list =

177

178 179 180 181
[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
182
  slapos.toolbox[lampconfigure]
183

Marco Mariani's avatar
Marco Mariani committed
184
[versions]
185
apache-libcloud = 0.12.3
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
186 187
async = 0.6.1
gitdb = 0.5.4
188
mysqlclient = 1.3.12
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
189
pycrypto = 2.6
190
rdiff-backup = 1.0.5+SlapOSPatched001
191
slapos.recipe.template = 2.4.2
192
slapos.toolbox = 0.40.4
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
193 194 195
smmap = 0.8.2

# Required by:
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
196
# slapos.toolbox==0.40.2
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
197
GitPython = 2.0.8
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
198 199

# Required by:
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
200
# slapos.toolbox==0.40.2
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
201 202 203
atomize = 0.1.1

# Required by:
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
204
# slapos.toolbox==0.40.2
Marco Mariani's avatar
Marco Mariani committed
205
feedparser = 5.1.3
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
206 207

# Required by:
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
208
# slapos.toolbox==0.40.2
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
209
paramiko = 2.0.1