monitor: httpd conf template is now in a real file (and not declared inline anymore)
[slapos.git] / stack / monitor / buildout.cfg
1 [buildout]
2
3 extends =
4   ../../component/apache/buildout.cfg
5   ../../component/curl/buildout.cfg
6   ../../component/dash/buildout.cfg
7   ../../component/dcron/buildout.cfg
8   ../../component/openssl/buildout.cfg
9
10 parts =
11   slapos-cookbook
12   dcron
13   monitor-eggs
14   extra-eggs
15   monitor-bin
16   monitor-template
17   rss-bin
18
19 [monitor-eggs]
20 recipe = zc.recipe.egg
21 eggs =
22   collective.recipe.template
23   cns.recipe.symlink
24
25 [extra-eggs]
26 recipe = zc.recipe.egg
27 interpreter = pythonwitheggs
28 eggs =
29   PyRSS2Gen
30   Jinja2
31
32 [make-rss-script]
33 recipe = slapos.recipe.template
34 url = ${:_profile_base_location_}/make-rss.sh.in
35 md5sum = 98c8f6fd81e405b0ad10db07c3776321
36 output = ${buildout:directory}/template-make-rss.sh.in
37 mode = 0644
38
39 [monitor-template]
40 recipe = slapos.recipe.template
41 url = ${:_profile_base_location_}/monitor.cfg.in
42 output = ${buildout:directory}/monitor.cfg
43 filename = monitor.cfg
44 md5sum = 852a0e205e005969547cce8192e531cd
45 mode = 0644
46
47 [monitor-bin]
48 recipe = hexagonit.recipe.download
49 url = ${:_profile_base_location_}/${:filename}
50 download-only = true
51 md5sum = cb2f15850d3dc82459a0044adb4416cf
52 destination = ${buildout:directory}/parts/monitor-template-monitor-bin
53 filename = monitor.py.in
54 mode = 0644
55
56 [monitor-httpd-template]
57 recipe = hexagonit.recipe.download
58 url = ${:_profile_base_location_}/${:filename}
59 download-only = true
60 md5sum = 335e618be6bbe02328cd3aaa30e29d9c
61 filename = cgi-httpd.conf.in
62 mode = 0644
63
64 [index]
65 recipe = hexagonit.recipe.download
66 url = ${:_profile_base_location_}/webfile-directory/${:filename}
67 download-only = true
68 md5sum = af1adc107b73290afb98d011f7307de1
69 destination = ${buildout:directory}/parts/monitor-index
70 filename = index.cgi.in
71 mode = 0644
72
73 [index-template]
74 recipe = hexagonit.recipe.download
75 url = ${:_profile_base_location_}/webfile-directory/${:filename}
76 download-only = true
77 destination = ${buildout:directory}/parts/monitor-template-index
78 md5sum = 05051a2ff81ce7dc2eef3106d75b33f9
79 filename = index.html.jinja2
80 mode = 0644
81
82 [status-cgi]
83 recipe = hexagonit.recipe.download
84 url = ${:_profile_base_location_}/webfile-directory/${:filename}
85 download-only = true
86 md5sum = e43d79bec8824265e22df7960744113a
87 destination = ${buildout:directory}/parts/monitor-template-status-cgi
88 filename = status.cgi.in
89 mode = 0644
90
91 [status-history-cgi]
92 recipe = hexagonit.recipe.download
93 url = ${:_profile_base_location_}/webfile-directory/${:filename}
94 download-only = true
95 #md5sum = 4fb26753ee669b8ac90ffe33dbd12e8f
96 destination = ${buildout:directory}/parts/monitor-template-status-history-cgi
97 filename = status-history.cgi.in
98 mode = 0644
99
100 [settings-cgi]
101 recipe = hexagonit.recipe.download
102 url = ${:_profile_base_location_}/webfile-directory/${:filename}
103 download-only = true
104 md5sum = b4cef123a3273e848e8fe496e22b20a8
105 destination = ${buildout:directory}/parts/monitor-template-settings-cgi
106 filename = settings.cgi.in
107 mode = 0644
108
109 [monitor-password-cgi]
110 recipe = hexagonit.recipe.download
111 url = ${:_profile_base_location_}/webfile-directory/${:filename}
112 download-only = true
113 md5sum = c7ba7ecb09d0d1d24e7cb73a212cc33f
114 destination = ${buildout:directory}/parts/monitor-template-monitor-password-cgi
115 filename = monitor-password.cgi.in
116 mode = 0644
117
118 [rss-bin]
119 recipe = hexagonit.recipe.download
120 url = ${:_profile_base_location_}/${:filename}
121 download-only = true
122 md5sum = 5f1b93ccdea7c3031aef396154c64938
123 destination = ${buildout:directory}/parts/monitor-template-rss-bin
124 filename = status2rss.py
125 mode = 0644
126
127 [dcron-service]
128 recipe = slapos.recipe.template
129 url = ${template-dcron-service:output}
130 output = $${directory:services}/crond
131 mode = 0700
132 logfile = $${directory:log}/crond.log
133
134 [download-monitor-static]
135 recipe = hexagonit.recipe.download
136 url = http://git.erp5.org/gitweb/slapos.git/snapshot/930be99041ea26b7b1186830e5eb56ef0acc1bdf.tar.gz
137 download-only = false
138 filename = monitor-static.tar.gz
139 destination = ${buildout:directory}/parts/monitor-static-files
140 ignore-existing = true
141 strip-top-level-dir = true
142 mode = 0644
143
144 [download-monitor-jquery]
145 recipe = hexagonit.recipe.download
146 url = http://code.jquery.com/jquery-1.10.2.min.js
147 download-only = true
148 destination = ${download-monitor-static:destination}
149 filename = jquery-1.10.2.min.js
150 mode = 0644