[buildout]

extends =
  ../../component/pycurl/buildout.cfg
  ../../component/wget/buildout.cfg
  ../../stack/monitor/buildout.cfg
  ../../component/fluentd/buildout.cfg
  ../../stack/slapos.cfg

parts = 
  wget
  slapos-cookbook
  slapos-toolbox
  network-bench-cfg
  json-test-template
  template
  template-monitor-distributor
  template-monitor
  eggs
  fluentd
  fluentd-agent-conf 

[template]
recipe = slapos.recipe.template 
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
md5sum = b38c5da7dd4165154a8817f76015e374
mode = 0644

[template-monitor]
recipe = slapos.recipe.build:download 
url = ${:_profile_base_location_}/instance-monitor.cfg.jinja2
destination = ${buildout:directory}/template-monitor.cfg
md5sum = 810ed8199682068e27b62659d7fa101f 
mode = 0644

[template-monitor-distributor]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-monitor-distributor.cfg.jinja2
destination = ${buildout:directory}/template-monitor-distributor.cfg
md5sum = d1253cf11c2b335b8bec5807e821d537 
mode = 0644

[json-test-template]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/json-test-template.json.in.jinja2
destination = ${buildout:directory}/json-test-template.json.in.jinja2
md5sum = 2eb5596544d9c341acf653d4f7ce2680
mode = 0644


# stupify index for now
[index]
url = ${:_profile_base_location_}/${:filename}
md5sum = 876f18b159fbd9325332d0f42e9172ac

[monitor-httpd-template]
url = ${:_profile_base_location_}/${:filename}
md5sum = e89b66a90409bb8e9099aa197803d337 

[network-bench-cfg]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/network_bench.cfg.in
md5sum  = cfcbf2002b8eff5153e2bf68ed24b720
output = ${buildout:directory}/template-network-bench-cfg.in
mode = 0644

[fluentd-agent-conf]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/fluentd-agent.conf.jinja2.in
md5sum = 4b81ddcbe2f16d23013caac37151d396 
output = ${buildout:directory}/fluentd-agent.conf.jinja2.in
mode = 0644

[slapos-toolbox]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  ${pycurl:egg}
  slapos.toolbox

scripts =
  networkbench
  onetimedownload

[fluentd]
gems += 
  fluent-plugin-wendelin==0.1.alpha1
  fluent-plugin-grep==0.3.4

[eggs]
recipe = zc.recipe.egg
eggs = 
  cns.recipe.symlink
  slapos.cookbook
  slapos.recipe.cmmi
  hexagonit.recipe.download
  plone.recipe.command
  
[versions]
PyRSS2Gen = 1.1
cns.recipe.symlink = 0.2.3
plone.recipe.command = 1.1
slapos.recipe.template = 2.7
rubygemsrecipe = 0.2.1
pycurl = 7.19.5.1

apache-libcloud = 0.16.0
ecdsa = 0.11
gitdb = 0.6.0
pycrypto = 2.6.1
slapos.toolbox = 0.55
smmap = 0.8.3

# Required by:
# slapos.toolbox==0.55
GitPython = 0.3.2.1

# Required by:
# slapos.toolbox==0.55
atomize = 0.2.0

# Required by:
# slapos.toolbox==0.55
feedparser = 5.1.3

# Required by:
# slapos.toolbox==0.55
paramiko = 1.16.0

# Required by:
# slapos.toolbox==0.55
lockfile = 0.10.2

# Required by:
# slapos.toolbox==0.55
rpdb = 0.1.5

