Commit af64ee68 authored by Julien Muchembled's avatar Julien Muchembled

NEO: fix instanciation issues

- switch-softwaretype recipe is not merged to master yet so we must
  slapos-cookbook in develop mode, like for ERP5.
- Recognize "RootSoftwareInstance" as default software type for compatibility.
parent e2cde619
...@@ -52,5 +52,7 @@ extra-context = ...@@ -52,5 +52,7 @@ extra-context =
recipe = slapos.cookbook:switch-softwaretype recipe = slapos.cookbook:switch-softwaretype
override = {{ dumps(override_switch_softwaretype |default) }} override = {{ dumps(override_switch_softwaretype |default) }}
default = neo-cluster:rendered default = neo-cluster:rendered
# BBB
RootSoftwareInstance = ${:default}
{{ admin_software_type }} = neo-admin:rendered {{ admin_software_type }} = neo-admin:rendered
{{ mysql_storage_software_type }} = neo-storage-mysql:rendered {{ mysql_storage_software_type }} = neo-storage-mysql:rendered
...@@ -17,6 +17,7 @@ extends = ...@@ -17,6 +17,7 @@ extends =
parts = parts =
slapos-deps-eggs slapos-deps-eggs
slapos-cookbook-develop
slapos-cookbook slapos-cookbook
# NEO & dependencies # NEO & dependencies
python2.7 python2.7
...@@ -26,6 +27,9 @@ parts = ...@@ -26,6 +27,9 @@ parts =
# NEO instanciation # NEO instanciation
template template
[slapos.cookbook-repository]
branch = erp5-cluster
[slapos-deps-eggs] [slapos-deps-eggs]
recipe = zc.recipe.egg recipe = zc.recipe.egg
eggs = eggs =
...@@ -59,7 +63,7 @@ md5sum = 38b4eb7225f9b7c18875b4d2ab398278 ...@@ -59,7 +63,7 @@ md5sum = 38b4eb7225f9b7c18875b4d2ab398278
[template] [template]
recipe = slapos.recipe.template:jinja2 recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in template = ${:_profile_base_location_}/instance.cfg.in
md5sum = fadc905aa50375e89cd3871741ad3507 md5sum = 9eb934d9fc06b253799c661f5dfba179
# XXX: "template.cfg" is hardcoded in instanciation recipe # XXX: "template.cfg" is hardcoded in instanciation recipe
rendered = ${buildout:directory}/template.cfg rendered = ${buildout:directory}/template.cfg
context = context =
......
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