Commit 76fbfb69 authored by Marco Mariani's avatar Marco Mariani

resdemo: 'do' extension for jinja2

parent 004107d6
......@@ -109,6 +109,7 @@ mode = 0644
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/apache/instance-apache-export.cfg.jinja2
rendered = ${buildout:directory}/instance-apache-export.cfg
extensions = jinja2.ext.do
context = key templateapache instance-apache-php:output
key templatepbsreadyexport pbsready-export:output
......@@ -123,6 +124,7 @@ mode = 0644
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance-resilient.cfg.jinja2
rendered = ${buildout:directory}/instance-resilient.cfg
extensions = jinja2.ext.do
context = key buildout buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory
......@@ -131,7 +133,7 @@ context = key buildout buildout:bin-directory
import-list = file parts template-parts:destination
file replicated template-replicated:destination
md5sum = e8ad60d4b62c754c5d6730fbf9a64f00
md5sum = 6ff8c4b87c32b919e35147926925d030
mode = 0644
......
......@@ -13,7 +13,7 @@ parts +=
{{ parts.replicate("apache", "3") }}
publish-connection-informations
{{ replicated.replicate("apache", "3", "apache-export", "apache-import") }}
{{ replicated.replicate("apache", "3", "apache-export", "apache-import", slapparameter_dict=slapparameter_dict) }}
# Bubble up the parameters
[request-apache]
......
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