Commit 039ba746 authored by Rafael Monnerat's avatar 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.
parent 31894c5f
...@@ -66,7 +66,7 @@ md5sum = 0969fbb25b05c02ef3c2d437b2f4e1a0 ...@@ -66,7 +66,7 @@ md5sum = 0969fbb25b05c02ef3c2d437b2f4e1a0
[template] [template]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = a2423975b29ab023f64ce257d097e286 md5sum = 9009939093730fb8219cbe7092dda9ab
[monitor-template-dummy] [monitor-template-dummy]
filename = dummy.cfg filename = dummy.cfg
......
...@@ -163,10 +163,10 @@ filename = instance-mariadb.cfg ...@@ -163,10 +163,10 @@ filename = instance-mariadb.cfg
extra-context = extra-context =
section parameter_dict dynamic-template-mariadb-parameters 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 # Once the section is removed, ghost instances will keep failing until
# garbage collection be implemented. # garbage collection be implemented.
[dynamic-template-cloudooo-legacy] [dynamic-template-legacy]
recipe = collective.recipe.template recipe = collective.recipe.template
input = inline:[buildout] input = inline:[buildout]
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
...@@ -174,7 +174,7 @@ input = inline:[buildout] ...@@ -174,7 +174,7 @@ input = inline:[buildout]
offline = true offline = true
parts = parts =
output = ${directory:directory/instance-cloudoo-legacy.cfg output = ${directory:directory/instance-legacy.cfg
mode = 644 mode = 644
# we need this value to be present in a section, # we need this value to be present in a section,
...@@ -202,4 +202,5 @@ zope = dynamic-template-zope:rendered ...@@ -202,4 +202,5 @@ zope = dynamic-template-zope:rendered
jupyter = dynamic-template-jupyter:rendered jupyter = dynamic-template-jupyter:rendered
# Keep cloudooo backward compatibility # Keep cloudooo backward compatibility
cloudooo = dynamic-template-cloudooo-legacy:output cloudooo = dynamic-template-legacy:output
caucase = dynamic-template-legacy:output
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