Commit 3a9561bf authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

software/plantuml: Switch to monitor-promise-base

parent 434718c2
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 8ed7b3f59d94869a328c72fa9bbfd7d5 md5sum = 602f1c57df08abefe0d8dc3ae22abaf0
[tomcat-server-xml] [tomcat-server-xml]
filename = server.xml.in filename = server.xml.in
......
...@@ -7,6 +7,8 @@ eggs-directory = ${buildout:eggs-directory} ...@@ -7,6 +7,8 @@ eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true offline = true
extends = ${monitor2-template:rendered}
[fontconfig-conf] [fontconfig-conf]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${font.conf:output} url = ${font.conf:output}
...@@ -78,16 +80,14 @@ needs = $${tomcat-web-xml:location} ...@@ -78,16 +80,14 @@ needs = $${tomcat-web-xml:location}
[promises] [promises]
recipe = recipe =
instance-promises = instance-promises =
$${tomcat-listen-promise:path} $${tomcat-listen-promise:name}
[check-port-listening-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/$${:_buildout_section_name_}
[tomcat-listen-promise] [tomcat-listen-promise]
<= check-port-listening-promise <= monitor-promise-base
hostname= $${tomcat-instance:ip} module = check_port_listening
port = $${tomcat-instance:port} name = tomcat_listen_promise.py
config-hostname= $${tomcat-instance:ip}
config-port = $${tomcat-instance:port}
[publish-connection-parameter] [publish-connection-parameter]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
...@@ -110,7 +110,6 @@ srv = $${buildout:directory}/srv ...@@ -110,7 +110,6 @@ srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp tmp = $${buildout:directory}/tmp
services = $${:etc}/service services = $${:etc}/service
promises = $${:etc}/promise
fonts = $${:srv}/fonts/ fonts = $${:srv}/fonts/
fontcache = $${buildout:directory}/.fontcache/ fontcache = $${buildout:directory}/.fontcache/
......
[buildout] [buildout]
extends = extends =
../../stack/slapos.cfg ../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
../../stack/nodejs.cfg ../../stack/nodejs.cfg
../../component/fontconfig/buildout.cfg ../../component/fontconfig/buildout.cfg
../../component/freetype/buildout.cfg ../../component/freetype/buildout.cfg
......
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