Commit c2333487 authored by Marco Mariani's avatar Marco Mariani

postgres promise

parent ba493cf8
...@@ -3,6 +3,7 @@ parts = ...@@ -3,6 +3,7 @@ parts =
symlinks symlinks
publish publish
postgres-instance postgres-instance
postgres-promise
# Define egg directories to be the one from Software Release # Define egg directories to be the one from Software Release
...@@ -52,6 +53,14 @@ services = $${directories:services} ...@@ -52,6 +53,14 @@ services = $${directories:services}
bin = $${directories:bin} bin = $${directories:bin}
# Deploy promises scripts
[postgres-promise]
recipe = slapos.cookbook:check_port_listening
path = $${basedirectory:promises}/apache
hostname = $${postgresql:host}
port = $${postgresql:port}
[publish] [publish]
recipe = slapos.cookbook:publishurl recipe = slapos.cookbook:publishurl
url = $${postgres-instance:url} url = $${postgres-instance:url}
......
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