[buildout]
extends =
  buildout.hash.cfg
  ../../stack/slapos.cfg
  ../../stack/monitor/buildout.cfg
  ../../component/mosquitto/buildout.cfg

parts =
  slapos-cookbook
  instance-profile
  plone.recipe.command

[plone.recipe.command]
recipe = zc.recipe.egg

[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/instance.cfg
context =
  section buildout buildout
  key mosquitto_location mosquitto:location
