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 = ...@@ -28,11 +28,12 @@ init =
""" % locals()) """ % locals())
if is_true(options.get('default-instance')): if is_true(options.get('default-instance')):
cookbook = "{slapos-cookbook:recipe}"
self.buildout.parse(""" self.buildout.parse("""
[.%(name)s.instance] [.%(name)s.instance]
recipe = slapos.recipe.template recipe = slapos.recipe.template
output = ${buildout:directory}/instance.cfg output = ${buildout:directory}/instance.cfg
depends = ${slapos-cookbook:recipe} depends = $%(cookbook)s
inline = inline =
[buildout] [buildout]
parts = publish 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