Commit 61b9f7f2 authored by Rafael Monnerat's avatar Rafael Monnerat

Introduce promise on zope and memcache configuration.

parent 8189c839
......@@ -252,7 +252,7 @@ mode = 640
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
md5sum = ee7d9040f3f90948fe15f78196f66149
md5sum = 88356e0017fc9e231c583a5f3544a5b9
extra-context =
key apache_location apache:location
key aspell_location aspell:location
......@@ -310,7 +310,7 @@ extra-context =
[template-memcached]
< = template-jinja2-base
filename = instance-memcached.cfg
md5sum = 395779dc578e2527cb0d89c5aee39f65
md5sum = 22f80288d1ada69515c5f462da37e121
extra-context =
key dash_location dash:location
key memcached_location memcached:location
......
......@@ -34,3 +34,10 @@ port = 11000
[publish-memcached-connection-information]
recipe = slapos.cookbook:publishurl
url = memcached://${memcached-instance:ip}:${memcached-instance:port}/
# Deploy zope promises scripts
[promise]
recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/memcache
hostname = ${memcached-instance:ip}
port = ${memcached-instance:port}
......@@ -243,6 +243,7 @@ tmp = ${buildout:directory}/tmp
recipe = slapos.cookbook:mkdirectory
log = ${rootdirectory:var}/log
services = ${rootdirectory:etc}/run
promises = ${rootdirectory:etc}/promise/
run = ${rootdirectory:var}/run
backup = ${rootdirectory:srv}/backup
bt5-erp5 = ${rootdirectory:var}/bt5_erp5
......@@ -289,3 +290,10 @@ crontabs = ${rootdirectory:etc}/crontabs
cronstamps = ${rootdirectory:etc}/cronstamps
logrotate-backup = ${basedirectory:backup}/logrotate
logrotate-entries = ${rootdirectory:etc}/logrotate.d
# Deploy zope promises scripts
[promise]
recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/zope
hostname = ${zope-instance:ip}
port = ${zope-instance:port}
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