Commit 039ba746 by Rafael Monnerat

erp5: Keep compatibility with the type caucase

  As the instance is already allocated, we add a dummy template to keep data there until user do something.

  And to prevent to buildout keep failing.
1 parent 31894c5f
......@@ -66,7 +66,7 @@ md5sum = 0969fbb25b05c02ef3c2d437b2f4e1a0
[template]
filename = instance.cfg.in
md5sum = a2423975b29ab023f64ce257d097e286
md5sum = 9009939093730fb8219cbe7092dda9ab
[monitor-template-dummy]
filename = dummy.cfg
......
......@@ -163,10 +163,10 @@ filename = instance-mariadb.cfg
extra-context =
section parameter_dict dynamic-template-mariadb-parameters
# Keep cloudooo section for backward compatibility
# Keep a section for backward compatibility for removed types
# Once the section is removed, ghost instances will keep failing until
# garbage collection be implemented.
[dynamic-template-cloudooo-legacy]
[dynamic-template-legacy]
recipe = collective.recipe.template
input = inline:[buildout]
eggs-directory = ${buildout:eggs-directory}
......@@ -174,7 +174,7 @@ input = inline:[buildout]
offline = true
parts =
output = ${directory:directory/instance-cloudoo-legacy.cfg
output = ${directory:directory/instance-legacy.cfg
mode = 644
# we need this value to be present in a section,
......@@ -202,4 +202,5 @@ zope = dynamic-template-zope:rendered
jupyter = dynamic-template-jupyter:rendered
# Keep cloudooo backward compatibility
cloudooo = dynamic-template-cloudooo-legacy:output
cloudooo = dynamic-template-legacy:output
caucase = dynamic-template-legacy:output
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!