Add 'edge' support for lamp-generic with 'edge' software_type.

parent 5d1f1cd7
...@@ -4,20 +4,26 @@ ...@@ -4,20 +4,26 @@
[buildout] [buildout]
parts = parts =
directory request-edge
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
#---------------- [request-edge]
#-- <= slap-connection
#-- Creation of all needed directories. recipe = slapos.cookbook:request.edge
# This magic parameter triggers several requests, one request per country.
name = lamp
return = url backend-url
country-list = $${slap-parameter:country-list}
software-url = $${slap-connection:software-release-url}
software-type = default
config = application-location
config-application-location = $${slap-parameter:application-location}
return = url backend-url
[directory] [publish-connection-parameter]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:publishsection
etc = $${buildout:directory}/etc section-list = request-edge
var = $${buildout:directory}/var
srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp
\ No newline at end of file
...@@ -9,7 +9,7 @@ parts += ...@@ -9,7 +9,7 @@ parts +=
[instance] [instance]
url = ${:_profile_base_location_}/instance.cfg.in url = ${:_profile_base_location_}/instance.cfg.in
md5sum = 10c316c7a1c18ea1d26bf319b5dffed1 md5sum = 26ac6629a83869140189a85e581e822f
[instance-apache-php] [instance-apache-php]
url = ${:_profile_base_location_}/instance-apache-php.cfg.in url = ${:_profile_base_location_}/instance-apache-php.cfg.in
...@@ -18,6 +18,6 @@ md5sum = fdc849c9f49b9d2fb043bf229d24076b ...@@ -18,6 +18,6 @@ md5sum = fdc849c9f49b9d2fb043bf229d24076b
[instance-edge] [instance-edge]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-edge.cfg.in url = ${:_profile_base_location_}/instance-edge.cfg.in
output = ${buildout:directory}/instance.cfg output = ${buildout:directory}/instance-edge.cfg
md5sum = 67fbac150093c36080925926afef8ba1 #md5sum = 6b7a6caf44e3a94bed7f89c04003a171
mode = 0644 mode = 0644
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