From 5b8c5e946dd37821bb5342577ed80c5a373d7885 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 18 Oct 2011 13:11:51 +0200 Subject: [PATCH] Start to use request for all externals services. --- software/erp5/instance-erp5-production.cfg | 42 ++++++++++++++++++++++ software/erp5/instance.cfg | 1 + software/erp5/software.cfg | 9 ++++- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/software/erp5/instance-erp5-production.cfg b/software/erp5/instance-erp5-production.cfg index e69de29bb2..08c3a4fe20 100644 --- a/software/erp5/instance-erp5-production.cfg +++ b/software/erp5/instance-erp5-production.cfg @@ -0,0 +1,42 @@ +############################# +# +# Request erp5 production environnment +# +############################# +[buildout] + +parts = + request-mariadb + request-cloudooo + request-memcached + request-kumofs + +eggs-directory = ${buildout:eggs-directory} +develop-eggs-directory = ${buildout:develop-eggs-directory} +offline = true + +[request-common] +recipe = slapos.cookbook:request +software-url = $${slap_connection:software_release_url} +sla = $${slap-connection:computer-id} +return = url + +[request-mariadb] +<=request-common +name = MariaDB DataBase +software-type = mariadb + +[request-cloudooo] +<=request-common +name = Cloudooo +software-type = cloudooo + +[request-memcached] +<=request-common +name = Memcached +software-type = memcached + +[request-kumofs] +<=request-common +name = KumoFS +software-type = kumofs diff --git a/software/erp5/instance.cfg b/software/erp5/instance.cfg index 5497104fca..c8e6870238 100644 --- a/software/erp5/instance.cfg +++ b/software/erp5/instance.cfg @@ -63,6 +63,7 @@ offline = true [switch-softwaretype] recipe = slapos.cookbook:softwaretype +production = ${template-erp5-production:output} kumofs = ${template-kumofs:output} memcached = ${template-memcached:output} cloudooo = ${template-cloudooo:output} diff --git a/software/erp5/software.cfg b/software/erp5/software.cfg index 9f288d619b..0c4fbae7c8 100644 --- a/software/erp5/software.cfg +++ b/software/erp5/software.cfg @@ -69,7 +69,7 @@ configurator_bt5_list = erp5_core_proxy_field_legacy erp5_full_text_myisam_catal [template] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg -md5sum = 8657f009ca6bc3f3538cfe8c1ef61939 +md5sum = 9af12972f774622c87dc1a0e55181fc6 output = ${buildout:directory}/template.cfg mode = 0644 @@ -87,6 +87,13 @@ md5sum = 0cc0687484ed81a95379cd5544795fcd output = ${buildout:directory}/template-zeo.cfg mode = 0644 +[template-erp5-production] +recipe = slapos.recipe.template +url = ${:_profile_base_location_}/instance-erp5-production.cfg +md5sum = 667e4d09ac8126381f60e329eebc776c +output = ${buildout:directory}/template-erp5-production.cfg +mode = 0644 + [validator] # Default json schema for instance parameters. recipe = slapos.recipe.template -- 2.30.9