stack-monitor: apache server added to run cgi script
[slapos.git] / stack / monitor / buildout.cfg
1 [buildout]
2
3 extends =
4   ../../component/apache/buildout.cfg
5   ../../component/dcron/buildout.cfg
6   ../../component/openssl/buildout.cfg
7   ../../component/nginx/buildout.cfg
8
9 parts +=
10   backup-script-template
11   collective.recipe.template-egg
12   dcron
13   eggs
14   extra-eggs
15   make-rss
16   monitor-bin
17   monitor-template
18   nginx
19   rss-bin
20   slapos-cookbook
21   template-nginx-conf
22
23 [collective.recipe.template-egg]
24 recipe = zc.recipe.egg
25 eggs = collective.recipe.template
26   PyRSS2Gen
27   
28 [extra-eggs]
29 recipe = zc.recipe.egg
30 interpreter = pythonforrssgen
31 eggs =
32   PyRSS2Gen
33   
34 [make-rss-script]
35 recipe = slapos.recipe.template
36 url = ${:_profile_base_location_}/make-rss.sh.in
37 #md5sum = 
38 output = ${buildout:directory}/make-rss.sh.in
39 mode = 0644
40
41 [monitor-template]
42 recipe = slapos.recipe.template
43 url = ${:_profile_base_location_}/monitor.cfg.in
44 output = ${buildout:directory}/monitor.cfg
45 #md5sum = 6564a2e7c7d9e631b997ff2960ad3299
46 mode = 0644
47
48 [monitor-bin]
49 recipe = hexagonit.recipe.download
50 url = ${:_profile_base_location_}/${:filename}
51 download-only = true
52 #md5sum = 
53 filename = monitor.py.in
54 mode = 0644
55
56 [cgi-bin]
57 recipe = hexagonit.recipe.download
58 url = ${:_profile_base_location_}/${:filename}
59 download-only = true
60 #md5sum = 
61 filename = index.cgi
62 mode = 0644
63
64 [rss-bin]
65 recipe = hexagonit.recipe.download
66 url = ${:_profile_base_location_}/${:filename}
67 download-only = true
68 #md5sum = 
69 filename = status2rss.py
70 mode = 0644
71
72 [dcron-service]
73 recipe = slapos.recipe.template
74 url = ${template-dcron-service:output}
75 output = $${directory:services}/crond
76 mode = 0700
77 logfile = $${directory:log}/crond.log
78
79 [template-nginx-conf]
80 recipe = hexagonit.recipe.download
81 url = ${:_profile_base_location_}/${:filename}
82 download-only = true
83 #md5sum = 
84 filename = nginx_rss.conf.in
85 mode = 0644
86
87 [eggs]
88 recipe = z3c.recipe.scripts
89 eggs =
90   slapos.cookbook
91   PyRSS2Gen
92
93 [versions]
94 PyRSS2Gen = 1.1