No need for python in lamp
[slapos.git] / software / lamp-template-static / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache
7   eggs
8   instance-recipe-egg
9   downloadcache-workaround
10
11 extends =
12   http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.50:/stack/lamp.cfg
13   http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.50:/stack/shacache-client.cfg
14
15 [application]
16 recipe = hexagonit.recipe.download
17 url = Student shall put here url of zipped or tarballed web page or application
18 #md5sum = Student may put here md5sum of this file, this is good idea
19 #If provided tarball does not contain top directory, option shall be changed to false
20 #strip-top-level-dir = true
21
22 [instance-recipe]
23 egg = slapos.cookbook
24 module = lamp.static
25
26 [template]
27 # Default template for the instance.
28 recipe = slapos.recipe.template
29 url = ${:_profile_base_location_}/instance.cfg
30 #md5sum = Student shall put md5 of instance.cfg here
31 output = ${buildout:directory}/template.cfg
32 mode = 0644
33
34 [instance-recipe-egg]
35 recipe = zc.recipe.egg
36 eggs = ${instance-recipe:egg}
37
38 [versions]
39 # Use SlapOS patched zc.buildout
40 zc.buildout = 1.5.3-dev-SlapOS-010
41 slapos.cookbook = 0.20
42
43 # Temporary fix for slapos-0.50
44 [lxml-python]
45 find-links += http://pypi.python.org/pypi/lxml/2.3.1
46
47 [downloadcache-workaround]
48 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
49 # creates download cache, which in turn switches builout to "semi-offline" mode
50 recipe = plone.recipe.command
51 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
52 # to ${buildout:directory}/downloads but this variable is available late, that's
53 # why it is hardcoded only for required case
54 download-cache = ${buildout:directory}/downloads
55 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
56 update-command = ${:command}
57 stop-on-error = True
58