Commit f28c42a2 authored by Vivien Alger's avatar Vivien Alger

davstorage: Cleaning instance profile a bit

parent 7ad99f7f
...@@ -87,7 +87,7 @@ mode = 0644 ...@@ -87,7 +87,7 @@ mode = 0644
[instance-davstorage] [instance-davstorage]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-davstorage.cfg url = ${:_profile_base_location_}/instance-davstorage.cfg
md5sum = 51277653d8c19c8316d520bc8db140c7 md5sum = 19485b63b21496eb751e5ac5815487b4
output = ${buildout:directory}/template-davstorage.cfg output = ${buildout:directory}/template-davstorage.cfg
mode = 0644 mode = 0644
......
...@@ -15,7 +15,6 @@ parts = ...@@ -15,7 +15,6 @@ parts =
postfix-users postfix-users
postfix-master-conf postfix-master-conf
postfix-service postfix-service
request-frontend
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
...@@ -182,31 +181,6 @@ pid = $${directory:spool}/pid ...@@ -182,31 +181,6 @@ pid = $${directory:spool}/pid
saved = $${directory:spool}/saved saved = $${directory:spool}/saved
trace = $${directory:spool}/trace trace = $${directory:spool}/trace
# Request frontend
[request-frontend-ajaxupload]
<= slap-connection
recipe = slapos.cookbook:request
name = Frontend Ajax
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
config = url https-only
config-https-only = true
config-url = https://[$${davstorage:ip}]:$${davstorage:port_ajax}/
return = domain
[request-frontend]
<= slap-connection
recipe = slapos.cookbook:request
name = Frontend Webdav
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
config = url https-only
config-https-only = true
config-url = https://$${davstorage:user}:$${davstorage:password}@[$${davstorage:ip}]:$${davstorage:port_webdav}/
return = domain
[copy-app] [copy-app]
recipe = plone.recipe.command recipe = plone.recipe.command
update-command = command update-command = command
...@@ -276,10 +250,27 @@ output = $${directory:postfix-conf}/master.cf ...@@ -276,10 +250,27 @@ output = $${directory:postfix-conf}/master.cf
mode = 0644 mode = 0644
md5sum = de33aa9ef530ef3c7661b914d2d1fbef md5sum = de33aa9ef530ef3c7661b914d2d1fbef
# XXX Vivien: promise not working for now # Request frontend
#[frontend-ajaxupload-promise] [request-frontend-ajaxupload]
#recipe = slapos.cookbook:check_url_available <= slap-connection
#path = $${basedirectory:promises}/frontend-ajaxupload recipe = slapos.cookbook:request
#url = $${request-frontend-ajaxupload:connection-site_url} name = Frontend Ajax
#dash_path = ${dash:location}/bin/dash # XXX We have hardcoded SR URL here.
#curl_path = ${curl:location}/bin/curl software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
\ No newline at end of file slave = true
config = url https-only
config-https-only = true
config-url = https://[$${davstorage:ip}]:$${davstorage:port_ajax}/
return = domain
[request-frontend]
<= slap-connection
recipe = slapos.cookbook:request
name = Frontend Webdav
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
config = url https-only
config-https-only = true
config-url = https://$${davstorage:user}:$${davstorage:password}@[$${davstorage:ip}]:$${davstorage:port_webdav}/
return = domain
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