slaprunner: develops stack monitor
[slapos.git] / software / slaprunner / common.cfg
1 [buildout]
2 extends =
3   ../../component/bash/buildout.cfg
4   ../../component/busybox/buildout.cfg
5   ../../component/curl/buildout.cfg
6   ../../component/dash/buildout.cfg
7   ../../component/dcron/buildout.cfg
8   ../../component/dropbear/buildout.cfg
9   ../../component/git/buildout.cfg
10   ../../component/logrotate/buildout.cfg
11   ../../component/lxml-python/buildout.cfg
12   ../../component/nano/buildout.cfg
13   ../../component/nginx/buildout.cfg
14   ../../component/rsync/buildout.cfg
15   ../../component/python-2.7/buildout.cfg
16   ../../component/screen/buildout.cfg
17   ../../component/shellinabox/buildout.cfg
18   ../../component/vim/buildout.cfg
19   ../../stack/flask.cfg
20   ../../stack/shacache-client.cfg
21   ../../stack/resilient/buildout.cfg
22   ../../stack/monitor/buildout.cfg
23   ../../stack/slapos.cfg
24
25 parts =
26   template
27   eggs
28   nginx
29   instance-runner-import
30   instance-runner-export
31   slapos-cookbook
32   slapos-cfg-template 
33 # XXX: we have to manually add this for resilience
34   rdiff-backup
35   collective.recipe.template-egg
36
37 develop = 
38   /opt/slapos.toolbox/
39   /opt/slaprunner/
40
41
42 [template]
43 recipe = slapos.recipe.template
44 url = ${:_profile_base_location_}/instance.cfg
45 output = ${buildout:directory}/template.cfg
46 md5sum = 8a47421ac6158b4ee476acab212c67d9
47 mode = 0644
48
49 [template-runner]
50 recipe = slapos.recipe.template
51 url = ${:_profile_base_location_}/instance-runner.cfg
52 output = ${buildout:directory}/template-runner.cfg.in
53 #md5sum = b3288126400c4ca8469c255ef130dec9
54 mode = 0644
55
56 [instance-runner-import]
57 recipe = slapos.recipe.template
58 url = ${:_profile_base_location_}/instance-runner-import.cfg.in
59 output = ${buildout:directory}/instance-runner-import.cfg
60 md5sum = 82f2d0be111617eac9849cb7b8baac5d
61 mode = 0644
62
63 [instance-runner-export]
64 recipe = slapos.recipe.template
65 url = ${:_profile_base_location_}/instance-runner-export.cfg.in
66 output = ${buildout:directory}/instance-runner-export.cfg
67 md5sum = 9a8cdf65bca8a562accb710a7c3b6595
68 mode = 0644
69
70 [template-resilient]
71 recipe = slapos.recipe.download
72 url = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
73 md5sum = f8758a5a2f886d649ad02157d76550ba
74 filename = instance-resilient.cfg.jinja2
75 mode = 0644
76
77 [template-resilient-test]
78 recipe = hexagonit.recipe.download
79 url = ${:_profile_base_location_}/instance-resilient-test.cfg.jinja2
80 download-only = true
81 md5sum = b231383bb63edc0009fb6e0ff5c54d8e
82 filename = instance-resilient-test.cfg.jinja2
83 mode = 0644
84
85 [template_nginx_conf]
86 recipe = hexagonit.recipe.download
87 url = ${:_profile_base_location_}/nginx_conf.in
88 download-only = true
89 md5sum = 67d2ce92b4ad6dca6eaf69eeb2c2734c
90 filename = nginx_conf.in
91 mode = 0644
92
93 [template_launcher]
94 recipe = slapos.recipe.download
95 url = ${:_profile_base_location_}/launcher.in
96 md5sum = c7f8b6e9ae84aa94686a9cbaaa3dd693
97 filename = launcher.in
98 mode = 0644
99 location = ${buildout:parts-directory}/${:_buildout_section_name_}
100
101 [slapos-cfg-template]
102 recipe = hexagonit.recipe.download
103 url = ${:_profile_base_location_}/template/${:filename}
104 #md5sum = 8207e74c7b97a4a3f3be390ea4f97ae1
105 location = ${buildout:parts-directory}/${:_buildout_section_name_}
106 filename = slapos.cfg.in 
107 download-only = true
108 mode = 0644
109
110 [eggs]
111 recipe = z3c.recipe.scripts
112 eggs =
113   ${lxml-python:egg}
114   collective.recipe.environment
115   cns.recipe.symlink
116   erp5.util
117   hexagonit.recipe.download
118   inotifyx
119   lock-file
120   netaddr
121   plone.recipe.command
122   pytz
123   slapos.cookbook
124   slapos.libnetworkcache
125   slapos.recipe.build
126   slapos.toolbox[flask_auth]
127   slapos.core
128   xml_marshaller
129   Gunicorn
130
131 # Add slapos.libnetworkcache to path of slapos.core so that slaprunner can build SRs using cache
132 [slapos-cookbook]
133 eggs =
134   ${lxml-python:egg}
135   slapos.cookbook
136   cliff
137   hexagonit.recipe.download
138   inotifyx
139   netaddr
140   netifaces
141   requests
142   slapos.core
143   supervisor
144   xml_marshaller
145   pytz
146   slapos.libnetworkcache