Commit de140f52 by Cédric Le Ninivin

html5as: Add basic replicate software type

1 parent 4797489c
......@@ -9,3 +9,4 @@ offline = true
[switch-softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${instance_html5as:output}
replicate = ${instance_replicate:output}
[buildout]
parts =
publish-connection-information
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[instance-1]
<= slap-connection
recipe = slapos.cookbook:request
# Name of the instance
name = instance1
# It is the same software as teh current one
software-url = $${slap-connection:software-release-url}
# We want the default behaviour
software-type = default
# What parameter are neede to be retrieved
return = server_url
# Provided parameters
config-default-path = $${slap-parameter:default-path}
config-download_url = $${slap-parameter:download_url}
[slap-parameter]
default-path =
[publish-connection-information]
recipe = slapos.cookbook:publish
server_url_1 = $${instance-1:connection-server_url}
......@@ -24,7 +24,7 @@ parts =
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
md5sum = 918e0d6513e4d1c92051431d83261dab
md5sum = 88166ef0deeb2b5a747622d779a01b97
mode = 0644
[instance_html5as]
......@@ -34,6 +34,13 @@ output = ${buildout:directory}/template_html5as.cfg
md5sum = 450fd933137a4e193c7647ce75b0a2f0
mode = 0644
[instance_replicate]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance_replicate.cfg
output = ${buildout:directory}/template_replicate.cfg
md5sum = 6d7394da128b0cc39d65e7cda84f18fe
mode = 0644
[template_nginx_conf]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/nginx_conf.in
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!