buildout.cfg 5.56 KB
Newer Older
1 2
[buildout]
parts =
3
  slapos-cookbook
4
  apache-php-postgres
5 6
  rdiff-backup
  dropbear
7
  eggs
8
  instance
Marco Mariani's avatar
Marco Mariani committed
9
  psycopg2
10

11 12
  instance-apache-php
  instance-postgres
13

14 15 16 17
#Contains the importer and exporter recipes for postgres
  instance-postgres-import
  instance-postgres-export

18 19
  instance-default-root

20

21
extends =
22
  ../resilient/buildout.cfg
23 24 25 26 27 28 29 30
  ../../component/apache/buildout.cfg
  ../../component/apache-php/buildout.cfg
  ../../component/dash/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/postgresql/buildout.cfg
31
  ../../component/rdiff-backup/buildout.cfg
32
  ../../component/stunnel/buildout.cfg
33
  ../../component/dropbear/buildout.cfg
34 35 36
  ../slapos.cfg


37 38 39 40 41
#----------------
#-- Application-specific part (maarch, etc.)

[application]
recipe = hexagonit.recipe.download
42
# If the provided tarball does not contain top directory, this option should be changed to false
43 44 45 46 47
strip-top-level-dir = true


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

49
[instance]
50
recipe = slapos.recipe.template
51 52
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
53
md5sum = 1aaf3ea7b14e09e66904bdb80e3cfe2f
54 55
mode = 0644

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 = 72b70452d1c077cfcd0f268181506b8e
61 62
mode = 0644

63 64 65 66
[instance-apache-backup]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/apache/instance-apache-backup.cfg.in
output = ${buildout:directory}/instance-apache-backup.cfg
67
md5sum = db879141c0b6a77ef8b3b7e699f5583a
68 69 70 71 72 73 74 75 76 77 78 79 80 81
mode = 0644

[template-resilient-lapp]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/template-resilient.cfg.in
rendered = ${buildout:directory}/instance-resilient.cfg

context = key templateapache instance-apache-php:output
          key dropbear dropbear:location
          key buildout buildout:bin-directory

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

82
md5sum = 525f50e60d0a96557a552de6afa4ab88
83 84 85
mode = 0644
 

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 = 6e9e587ddb52fb9a3817fda7d77e4cab
91 92
mode = 0644

93 94 95 96
[instance-postgres-import]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/postgres/instance-postgres-import.cfg.in
output = ${buildout:directory}/instance-postgres-import.cfg
97
md5sum = 7edfa157ddccc27e99bf128fc1c2b9ee
98
mode = 0644
99

100 101 102 103
[instance-postgres-export]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/postgres/instance-postgres-export.cfg.in
output = ${buildout:directory}/instance-postgres-export.cfg
104
md5sum = 68080e5d861eb3474442211dd65c668b
105
mode = 0644
106

107 108 109 110

#----------------
#-- Postgres driver for Python recipes.

Marco Mariani's avatar
Marco Mariani committed
111 112 113
[psycopg2-env]
PATH = ${postgresql:location}/bin:%(PATH)s

114

Marco Mariani's avatar
Marco Mariani committed
115 116 117 118
[psycopg2]
recipe = zc.recipe.egg:custom
egg = psycopg2
define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
Marco Mariani's avatar
Marco Mariani committed
119
environment = psycopg2-env
Marco Mariani's avatar
Marco Mariani committed
120 121 122 123 124 125 126
include-dirs =
    ${postgresql:location}/include
library-dirs =
    ${postgresql:location}/lib
rpath = 
    ${postgresql:location}/lib

127 128 129 130 131 132
[instance-default-root]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-default-root.cfg.in
output = ${buildout:directory}/instance-default-root.cfg
md5sum = 53c9020f7a0b5203f976e069e455787b
mode = 0644
Marco Mariani's avatar
Marco Mariani committed
133

134 135 136 137 138 139 140 141 142 143 144 145 146 147
#----------------
#--
#-- 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 =

#----------------
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
#-- Dummy parts in case no application configuration file is needed

[application-template]
filename =
location =

[application-configuration]
location =

#----------------

[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  ${psycopg2:egg}
  slapos.toolbox
165

Marco Mariani's avatar
Marco Mariani committed
166 167

[versions]
168 169 170 171 172 173 174 175 176
Jinja2 = 2.6
Werkzeug = 0.8.3
apache-libcloud = 0.11.4
async = 0.6.1
buildout-versions = 1.7
gitdb = 0.5.4
hexagonit.recipe.cmmi = 1.6
inotifyx = 0.2.0
lxml = 3.0.2
Marco Mariani's avatar
Marco Mariani committed
177
meld3 = 0.6.10
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
netaddr = 0.7.10
psycopg2 = 2.4.6
pycrypto = 2.6
pytz = 2012h
rdiff-backup = 1.0.5
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.4.2
smmap = 0.8.2

# Required by:
# slapos.core==0.33.2-dev
# slapos.toolbox==0.32.1-dev
Flask = 0.9

# Required by:
# slapos.toolbox==0.32.1-dev
GitPython = 0.3.2.RC1

# Required by:
# slapos.toolbox==0.32.1-dev
atomize = 0.1.1

# Required by:
# slapos.toolbox==0.32.1-dev
feedparser = 5.1.3

# Required by:
# hexagonit.recipe.cmmi==1.6
hexagonit.recipe.download = 1.6

# Required by:
# slapos.core==0.33.2-dev
netifaces = 0.8

# Required by:
# slapos.toolbox==0.32.1-dev
paramiko = 1.9.0

# Required by:
# slapos.toolbox==0.32.1-dev
psutil = 0.6.1

# Required by:
# slapos.core==0.33.2-dev
pyflakes = 0.5.0

# Required by:
# slapos.cookbook==0.70.1-dev
# slapos.core==0.33.2-dev
# slapos.toolbox==0.32.1-dev
# supervisor==3.0b1
# zc.buildout==1.6.0-dev-SlapOS-010
# zope.interface==4.0.2
setuptools = 0.6c12dev-r88846

# Required by:
# slapos.core==0.33.2-dev
supervisor = 3.0b1

# Required by:
# slapos.toolbox==0.32.1-dev
xml-marshaller = 0.9.7

# Required by:
# slapos.core==0.33.2-dev
zope.interface = 4.0.2
Marco Mariani's avatar
Marco Mariani committed
244