From a591a4c72b89a1555eab9d0eefb9b9e02f9fccf0 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Thu, 29 Mar 2012 11:27:32 +0200 Subject: [PATCH] Prepare moving to slapos.recipe.template:jinja2 . --- software/erp5/software.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/software/erp5/software.cfg b/software/erp5/software.cfg index 04100caab..ccd65515f 100644 --- a/software/erp5/software.cfg +++ b/software/erp5/software.cfg @@ -42,6 +42,19 @@ scripts = python = python2.6 ugly-depend-on = ${slapos.cookbook-repository:command} ${slapos.cookbook-repository:update-command} +[template-jinja2-base] +recipe = slapos.recipe.template:jinja2 +template = ${:_profile_base_location_}/${:filename}.in +rendered = ${buildout:directory}/${:filename} +# XXX: extra-context is needed because we cannot append to a key of an extended +# section. +extra-context = +context = + key bin_directory buildout:bin-directory + key develop_eggs_directory buildout:develop-eggs-directory + key eggs_directory buildout:eggs-directory + ${:extra-context} + [template-mariadb] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance-mariadb.cfg -- 2.30.9