buildout.cfg 4.07 KB
Newer Older
1 2 3
[buildout]

extends =
4
  ../../component/apache/buildout.cfg
5 6
  ../../component/curl/buildout.cfg
  ../../component/dash/buildout.cfg
7
  ../../component/dcron/buildout.cfg
8
  ../../component/openssl/buildout.cfg
9

10
parts =
Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
11
  slapos-cookbook
12
  dcron
Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
13
  monitor-eggs
14 15 16 17 18
  extra-eggs
  monitor-bin
  monitor-template
  rss-bin

Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
19
[monitor-eggs]
20
recipe = zc.recipe.egg
Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
21 22 23 24
eggs =
  collective.recipe.template
  cns.recipe.symlink

25 26
[extra-eggs]
recipe = zc.recipe.egg
27
interpreter = pythonwitheggs
28 29
eggs =
  PyRSS2Gen
30
  Jinja2
Cédric Le Ninivin's avatar
Cédric Le Ninivin committed
31

32 33 34
[make-rss-script]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/make-rss.sh.in
35
md5sum = 98c8f6fd81e405b0ad10db07c3776321
36
output = ${buildout:directory}/template-make-rss.sh.in
37 38 39 40 41 42
mode = 0644

[monitor-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/monitor.cfg.in
output = ${buildout:directory}/monitor.cfg
43
filename = monitor.cfg
44
md5sum = 852a0e205e005969547cce8192e531cd
45 46 47 48 49 50
mode = 0644

[monitor-bin]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
51
md5sum = cb2f15850d3dc82459a0044adb4416cf
52
destination = ${buildout:directory}/parts/monitor-template-monitor-bin
53 54 55
filename = monitor.py.in
mode = 0644

56 57 58 59 60 61 62 63
[monitor-httpd-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
md5sum = 335e618be6bbe02328cd3aaa30e29d9c
filename = cgi-httpd.conf.in
mode = 0644

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 71 72 73 74
filename = index.cgi.in
mode = 0644

[index-template]
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 81
mode = 0644

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 89 90
filename = status.cgi.in
mode = 0644

91 92 93 94
[status-history-cgi]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
95
#md5sum = 4fb26753ee669b8ac90ffe33dbd12e8f
96 97 98 99
destination = ${buildout:directory}/parts/monitor-template-status-history-cgi
filename = status-history.cgi.in
mode = 0644

100 101
[settings-cgi]
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 108
mode = 0644

109 110
[monitor-password-cgi]
recipe = hexagonit.recipe.download
111
url = ${:_profile_base_location_}/webfile-directory/${:filename}
112
download-only = true
113
md5sum = c7ba7ecb09d0d1d24e7cb73a212cc33f
114 115 116 117
destination = ${buildout:directory}/parts/monitor-template-monitor-password-cgi
filename = monitor-password.cgi.in
mode = 0644

118 119 120 121
[rss-bin]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
122
md5sum = 5f1b93ccdea7c3031aef396154c64938
123
destination = ${buildout:directory}/parts/monitor-template-rss-bin
124 125 126 127 128 129 130 131 132 133
filename = status2rss.py
mode = 0644

[dcron-service]
recipe = slapos.recipe.template
url = ${template-dcron-service:output}
output = $${directory:services}/crond
mode = 0700
logfile = $${directory:log}/crond.log

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 141 142 143 144 145 146 147 148 149
ignore-existing = true
strip-top-level-dir = true
mode = 0644

[download-monitor-jquery]
recipe = hexagonit.recipe.download
url = http://code.jquery.com/jquery-1.10.2.min.js
download-only = true
destination = ${download-monitor-static:destination}
filename = jquery-1.10.2.min.js
150
mode = 0644