Commit 844169f2 authored by Thomas Leymonerie's avatar Thomas Leymonerie

component/macros/virtual-env: Fix-up

`depends = {slapos-cookbook:recipe}` bug when `virtual-env-base` is used in an instance.cfg.
parent 8f52adb1
......@@ -28,11 +28,12 @@ init =
""" % locals())
if is_true(options.get('default-instance')):
cookbook = "{slapos-cookbook:recipe}"
self.buildout.parse("""
[.%(name)s.instance]
recipe = slapos.recipe.template
output = ${buildout:directory}/instance.cfg
depends = ${slapos-cookbook:recipe}
depends = $%(cookbook)s
inline =
[buildout]
parts = publish
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment