Commit 8ada2b74 authored by Łukasz Nowak's avatar Łukasz Nowak

software/erp5testnode: Switch to monitor-promise-base

parent 08618181
...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e ...@@ -18,4 +18,4 @@ md5sum = 307663d73ef3ef94b02567ecd322252e
[template-default] [template-default]
filename = instance-default.cfg filename = instance-default.cfg
md5sum = 4abfdf82f90a39a36de338f36b5eeb3e md5sum = a76803eedf0c66fe7649b62efc86c8fe
...@@ -183,7 +183,6 @@ recipe = slapos.cookbook:mkdirectory ...@@ -183,7 +183,6 @@ recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log log = $${rootdirectory:var}/log
services = $${rootdirectory:etc}/service services = $${rootdirectory:etc}/service
run = $${rootdirectory:var}/run run = $${rootdirectory:var}/run
promises = $${rootdirectory:etc}/promise
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
...@@ -217,17 +216,14 @@ return = domain secure_access ...@@ -217,17 +216,14 @@ return = domain secure_access
[promises] [promises]
recipe = recipe =
instance-promises = instance-promises =
$${shellinabox-frontend-listen-promise:path} $${shellinabox-frontend-listen-promise:name}
[check-port-listening-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/$${:_buildout_section_name_}
[shellinabox-frontend-listen-promise] [shellinabox-frontend-listen-promise]
<= check-port-listening-promise <= monitor-promise-base
hostname= $${shellinabox-frontend:hostname} module = check_port_listening
port = $${shellinabox-frontend:port} name = $${:_buildout_section_name_}.py
config-hostname = $${shellinabox-frontend:hostname}
config-port = $${shellinabox-frontend:port}
[slap-parameter] [slap-parameter]
node-quantity = 1 node-quantity = 1
......
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