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

ignore-existing = true

5
parts =
6
  slapos-cookbook
7 8 9 10
  apache-php
  mariadb
  mydumper
  mysql-python
11 12
  rdiff-backup
  dropbear
13
  eggs
Marco Mariani's avatar
Marco Mariani committed
14
  instance
15

16
  instance-apache-php
Marco Mariani's avatar
Marco Mariani committed
17
  instance-mariadb
18 19

#Contains the importer and exporter recipes for mariadb
Marco Mariani's avatar
Marco Mariani committed
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 43
  ../../component/mydumper/buildout.cfg
  ../../component/mysql-python/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
# If the provided tarball does not contain top directory, this option should be changed to false
60 61
strip-top-level-dir = true

62 63 64 65

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

Marco Mariani's avatar
Marco Mariani committed
66
[instance]
67
recipe = slapos.recipe.template
68 69
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
70
md5sum = 650cd2527158734fd6ccd9ec374b5e69
71 72
mode = 0644

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

80
[instance-apache-import]
81
recipe = slapos.recipe.template
82 83
url = ${:_profile_base_location_}/apache/instance-apache-import.cfg.in
output = ${buildout:directory}/instance-apache-import.cfg
84
md5sum = f1dc2a71d362b5d2d36481ffefdd2293
85 86 87 88 89 90
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
91
extensions = jinja2.ext.do
92 93 94 95 96 97 98

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

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

99
md5sum = 24c5d0db063e5343a3cb0db9d5fbc738
100 101
mode = 0644

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 109 110
context = key buildout buildout:bin-directory
          key develop_eggs_directory buildout:develop-eggs-directory
          key eggs_directory buildout:eggs-directory
111 112

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

115
md5sum = 1640ebe7f8ced607ce1ec93c4f6e5413
116 117
mode = 0644

Marco Mariani's avatar
Marco Mariani committed
118
[instance-mariadb]
119
recipe = slapos.recipe.template
120 121
url = ${:_profile_base_location_}/mariadb/instance-mariadb.cfg.in
output = ${buildout:directory}/instance-mariadb.cfg
122
md5sum = c328d11f76373f8c5928afedf2178afd
123 124
mode = 0644

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

Marco Mariani's avatar
Marco Mariani committed
132
[instance-mariadb-export]
133
recipe = slapos.recipe.template
134 135
url = ${:_profile_base_location_}/mariadb/instance-mariadb-export.cfg.in
output = ${buildout:directory}/instance-mariadb-export.cfg
136
md5sum = 0352896921ca1766b64f0b54f0f8c27e
137 138
mode = 0644

139

140 141 142 143 144 145 146 147 148 149 150 151 152
#----------------
#--
#-- 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 =

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

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

[application-configuration]
location =

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

[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 =

176

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

Marco Mariani's avatar
Marco Mariani committed
183
[versions]
184 185
MySQL-python = 1.2.4
apache-libcloud = 0.12.3
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
186 187 188 189 190
async = 0.6.1
gitdb = 0.5.4
pycrypto = 2.6
rdiff-backup = 1.0.5
slapos.recipe.download = 1.0.dev-r4053
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
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
197 198 199
GitPython = 0.3.2.RC1

# 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 209
# slapos.toolbox==0.40.2
paramiko = 1.15.1