Commit c0247f0e authored by Rafael Monnerat's avatar Rafael Monnerat

Add promise for apache-zope-backend, and enable promises

parent 61b9f7f2
...@@ -211,7 +211,7 @@ extra-context = ...@@ -211,7 +211,7 @@ extra-context =
[template-zope] [template-zope]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-zope.cfg.in url = ${:_profile_base_location_}/instance-zope.cfg.in
md5sum = bb06b0a957ba8011f5b0f1cb09ac03de md5sum = de2918c8ca604f452a69108f6e31e78d
mode = 640 mode = 640
[template-kumofs] [template-kumofs]
......
...@@ -12,6 +12,8 @@ parts = ...@@ -12,6 +12,8 @@ parts =
cron-entry-logrotate cron-entry-logrotate
binary-link binary-link
bt5-erp5-link bt5-erp5-link
promise-zope
promise-apache-zope-backend
eggs-directory = {{ eggs_directory }} eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }} develop-eggs-directory = {{ develop_eggs_directory }}
...@@ -292,8 +294,15 @@ logrotate-backup = ${basedirectory:backup}/logrotate ...@@ -292,8 +294,15 @@ logrotate-backup = ${basedirectory:backup}/logrotate
logrotate-entries = ${rootdirectory:etc}/logrotate.d logrotate-entries = ${rootdirectory:etc}/logrotate.d
# Deploy zope promises scripts # Deploy zope promises scripts
[promise] [promise-zope]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/zope path = ${basedirectory:promises}/zope
hostname = ${zope-instance:ip} hostname = ${zope-instance:ip}
port = ${zope-instance:port} port = ${zope-instance:port}
[promise-apache-zope-backend]
recipe = slapos.cookbook:check_port_listening
path = ${basedirectory:promises}/apache-backend
hostname = ${apache-zope-backend-instance:ip}
port = ${apache-zope-backend-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