diff --git a/software/resdemo/buildout.cfg b/software/resdemo/buildout.cfg index 6516a9f0287458b9b66aa7948a948c7f94ddd1f9..298dbdf27c3f121899af362f909011a4458223d6 100644 --- a/software/resdemo/buildout.cfg +++ b/software/resdemo/buildout.cfg @@ -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 diff --git a/software/resdemo/instance-resilient.cfg.jinja2 b/software/resdemo/instance-resilient.cfg.jinja2 index ee842ec6f8a869b4ba672ebfbeb054fba7b6e4ed..f33d54795a8846133919fac45e3ff344a21cb3d5 100644 --- a/software/resdemo/instance-resilient.cfg.jinja2 +++ b/software/resdemo/instance-resilient.cfg.jinja2 @@ -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]