Commit a0bcaf15 authored by Łukasz Nowak's avatar Łukasz Nowak

Define defaults.

Allow to just request default profile. Set usual site id and by default lock
down backend access.
parent f0ca8ab0
...@@ -18,6 +18,10 @@ eggs-directory = ${buildout:eggs-directory} ...@@ -18,6 +18,10 @@ eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
[slap-parameter]
# default site id
site-id = erp5
[erp5-update] [erp5-update]
recipe = slapos.cookbook:erp5.update recipe = slapos.cookbook:erp5.update
......
...@@ -16,6 +16,10 @@ eggs-directory = ${buildout:eggs-directory} ...@@ -16,6 +16,10 @@ eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
[slap-parameter]
# By default backend disallows the access
access-control-string = none
[publish-apache-zope-backend-connection-string] [publish-apache-zope-backend-connection-string]
recipe = slapos.cookbook:publishurl recipe = slapos.cookbook:publishurl
url = https://$${zope-instance:user}:$${zope-instance:password}@[$${apache-zope-backend-instance:ip}]:$${apache-zope-backend-instance:port} url = https://$${zope-instance:user}:$${zope-instance:password}@[$${apache-zope-backend-instance:ip}]:$${apache-zope-backend-instance:port}
......
...@@ -25,7 +25,7 @@ mode = 0644 ...@@ -25,7 +25,7 @@ mode = 0644
[template-zope] [template-zope]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-zope.cfg url = ${:_profile_base_location_}/instance-zope.cfg
md5sum = 38fab9825a159899eefe619585c56352 md5sum = 257919d035440c8290c721c616f904fe
output = ${buildout:directory}/template-zope.cfg output = ${buildout:directory}/template-zope.cfg
mode = 0644 mode = 0644
...@@ -60,7 +60,7 @@ mode = 0644 ...@@ -60,7 +60,7 @@ mode = 0644
[template-erp5-development] [template-erp5-development]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-erp5-development.cfg url = ${:_profile_base_location_}/instance-erp5-development.cfg
md5sum = 87413ae556f73fff4342ae5fb15d37de md5sum = 97670f46ef45f1314ed03a71df56de4d
output = ${buildout:directory}/template-erp5-development.cfg output = ${buildout:directory}/template-erp5-development.cfg
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