version up : slapos.toolbox 0.40.4.
[slapos.git] / software / varnish / software.cfg
1 [buildout]
2 # Local development
3 develop =
4   ${:parts-directory}/slapos.cookbook-repository
5
6 extends =
7   ../../stack/slapos.cfg
8   ../../component/dash/buildout.cfg
9   ../../component/dcron/buildout.cfg
10   ../../component/gcc/buildout.cfg
11   ../../component/git/buildout.cfg
12   ../../component/gzip/buildout.cfg
13   ../../component/logrotate/buildout.cfg
14   ../../component/python-2.7/buildout.cfg
15   ../../component/stunnel/buildout.cfg
16   ../../component/varnish/buildout.cfg
17   ../../component/wget/buildout.cfg
18
19 parts =
20   dash
21   dcron
22   gcc-minimal
23   slapos-toolbox
24   stunnel
25   varnish-3.0
26   wget
27 # Local development
28   slapos.cookbook-repository
29   check-recipe
30 # Create instance template
31   template
32
33 # Local development
34 [slapos.cookbook-repository]
35 recipe = slapos.recipe.build:gitclone
36 repository = http://git.erp5.org/repos/slapos.git
37 branch = master
38 git-executable = ${git:location}/bin/git
39
40 [check-recipe]
41 recipe = plone.recipe.command
42 stop-on-error = true
43 update-command = ${:command}
44 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
45
46 [template-jinja2-base]
47 recipe = slapos.recipe.template:jinja2
48 template = ${:_profile_base_location_}/${:filename}.in
49 rendered = ${buildout:directory}/${:filename}
50 # XXX: extra-context is needed because we cannot append to a key of an extended
51 # section.
52 extra-context =
53 context =
54     key bin_directory buildout:bin-directory
55     key develop_eggs_directory buildout:develop-eggs-directory
56     key eggs_directory buildout:eggs-directory
57     ${:extra-context}
58
59 [template]
60 < = template-jinja2-base
61 # XXX: "template.cfg" is hardcoded in instanciation recipe
62 filename = template.cfg
63 template = ${:_profile_base_location_}/instance.cfg.in
64 md5sum = 8e906d749e19ee13fe5b7f4d9bfcf896
65 extra-context =
66     key buildout_bin_directory buildout:bin-directory
67     key dash_location dash:location
68     key dcron_location dcron:location
69     key gcc_location gcc-minimal:location
70     key gzip_location gzip:location
71     key logrotate_location logrotate:location
72     key stunnel_location stunnel:location
73     key template_varnish template-varnish:target
74     key varnish_location varnish-3.0:location
75     key wget_location wget:location
76
77 [template-varnish]
78 recipe = slapos.recipe.build:download
79 url = ${:_profile_base_location_}/instance-varnish.cfg.in
80 md5sum = 4334d900f212d170fd0ca35865879bdf
81 mode = 640
82
83 [eggs]
84 recipe = zc.recipe.egg
85 eggs =
86   ${lxml-python:egg}
87   erp5.util
88   pytz
89   lock_file
90   inotifyx
91 scripts =
92   web_checker_utility = erp5.util.webchecker:web_checker_utility
93
94 [slapos-toolbox]
95 recipe = zc.recipe.egg
96 eggs =
97   ${lxml-python:egg}
98   slapos.toolbox
99 scripts =
100   killpidfromfile
101
102 [versions]
103 erp5.util = 0.4.41
104 slapos.toolbox = 0.40.4