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

extends =
4
  ../../component/apache/buildout.cfg
5
  ../../component/dcron/buildout.cfg
6 7
  ../../component/openssl/buildout.cfg
  ../../component/nginx/buildout.cfg
8

9
parts +=
10 11 12
  backup-script-template
  collective.recipe.template-egg
  dcron
13
  download-static-files
14 15 16 17 18
  eggs
  extra-eggs
  make-rss
  monitor-bin
  monitor-template
19
  nginx
20 21
  rss-bin
  slapos-cookbook
22
  static-folder
23
  template-nginx-conf
24 25 26 27 28 29 30 31

[collective.recipe.template-egg]
recipe = zc.recipe.egg
eggs = collective.recipe.template
  PyRSS2Gen
  
[extra-eggs]
recipe = zc.recipe.egg
32
interpreter = pythonwitheggs
33 34
eggs =
  PyRSS2Gen
35
  Jinja2
36 37 38 39 40 41 42 43 44 45 46 47
  
[make-rss-script]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/make-rss.sh.in
#md5sum = 
output = ${buildout:directory}/make-rss.sh.in
mode = 0644

[monitor-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/monitor.cfg.in
output = ${buildout:directory}/monitor.cfg
48
filename = monitor.cfg
49 50 51 52 53 54 55 56 57 58 59
#md5sum = 6564a2e7c7d9e631b997ff2960ad3299
mode = 0644

[monitor-bin]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
#md5sum = 
filename = monitor.py.in
mode = 0644

60
[index]
61
recipe = hexagonit.recipe.download
62 63 64 65 66 67 68 69 70
url = ${:_profile_base_location_}/webfiles/${:filename}
download-only = true
#md5sum = 
filename = index.cgi.in
mode = 0644

[index-template]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfiles/${:filename}
71 72
download-only = true
#md5sum = 
73
filename = index.html.jinja2
74 75
mode = 0644

76
[status-cgi]
77
recipe = hexagonit.recipe.download
78
url = ${:_profile_base_location_}/webfiles/${:filename}
79 80
download-only = true
#md5sum = 
81 82 83 84 85
filename = status.cgi.in
mode = 0644

[settings-cgi]
recipe = hexagonit.recipe.download
86
url = ${:_profile_base_location_}/webfiles/${:filename}
87 88 89
download-only = true
#md5sum = 
filename = settings.cgi.in
90 91
mode = 0644

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
[rss-bin]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
#md5sum = 
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

107 108
[download-static-files]
recipe = hexagonit.recipe.download
109
url = https://github.com/Sebatyne/staticForMonitoring/blob/3f0e93cec706c7ad311ddbf1ebf996965ce2f0a3/static-files.tar.gz?raw=true
110
download-only = true
111
md5sum = e98585b85634de48240b2c215e946769
112 113 114
filename = static-files.tar.gz
mode = 0644

115 116 117 118 119 120 121 122
[eggs]
recipe = z3c.recipe.scripts
eggs =
  slapos.cookbook
  PyRSS2Gen

[versions]
PyRSS2Gen = 1.1
123
Jinja2 = 2.6