lamp-generic : Add frontend request

parent 2bb85599
......@@ -68,7 +68,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-php.cfg
output = ${buildout:directory}/template-apache-php.cfg
md5sum = 8ebed1e26127c066e5b69372e69e6c38
md5sum = 7214e805bba93a64c069af6dbad1b7a1
mode = 0644
[template-apache-backup]
......
......@@ -3,6 +3,7 @@
parts =
url
request-mariadb
request-frontend
apache-php
stunnel
certificate-authority
......@@ -20,7 +21,7 @@ offline = true
[url]
recipe = slapos.cookbook:publishurl
url = http://[$${apache-php:ip}]:$${apache-php:port}/
url = ${request-frontend:connection-site_url}
[promise]
recipe = slapos.cookbook:check_port_listening
......@@ -109,6 +110,17 @@ software-url = $${slap-connection:software-release-url}
software-type = mariadb
return = url
[request-frontend]
<= slap-connection
recipe = slapos.cookbook:request
name = Frontend
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.74:/software/apache-frontend/software.cfg
slave = true
config = url
config-url = http://[$${apache-php:ip}]:$${apache-php:port}/
return = site_url
[logrotate]
recipe = slapos.cookbook:logrotate
# Binaries
......
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