Commit 08618181 authored by Łukasz Nowak's avatar Łukasz Nowak

software/cloudooo: Switch to monitor-promise-base

parent 3ee93641
...@@ -18,4 +18,4 @@ md5sum = 6e4431cf4b0a0d034402604b1e2844c0 ...@@ -18,4 +18,4 @@ md5sum = 6e4431cf4b0a0d034402604b1e2844c0
[template-cloudooo-instance] [template-cloudooo-instance]
filename = instance-cloudooo.cfg.in filename = instance-cloudooo.cfg.in
md5sum = 31ed5c856ce2dff0305d7029caefc3f6 md5sum = 79f2740f7e28ad9fcd2f823d076e790e
...@@ -68,7 +68,9 @@ mode = {{ mode }} ...@@ -68,7 +68,9 @@ mode = {{ mode }}
[buildout] [buildout]
extends = extends =
{{ parameter_dict['template-logrotate-base'] }} {{ parameter_dict['template-logrotate-base'] }}
{{ parameter_dict['template-monitor'] }}
parts = parts =
monitor-base
publish publish
apache apache
apache-conf apache-conf
...@@ -114,10 +116,11 @@ crl = ${apache-ssl-client:crl} ...@@ -114,10 +116,11 @@ crl = ${apache-ssl-client:crl}
[apache-promise] [apache-promise]
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently # Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
recipe = slapos.cookbook:check_port_listening <= monitor-promise-base
path = ${directory:promise}/apache module = check_port_listening
hostname = {{ ipv4 }} name = apache.py
port = {{ apache_dict.values()[0][0] }} config-hostname = {{ ipv4 }}
config-port = {{ apache_dict.values()[0][0] }}
[apache-conf-ssl] [apache-conf-ssl]
cert = ${directory:apache-conf}/apache.crt cert = ${directory:apache-conf}/apache.crt
...@@ -262,7 +265,6 @@ font = ${:srv}/font ...@@ -262,7 +265,6 @@ font = ${:srv}/font
log = ${:var}/log log = ${:var}/log
newcerts = ${:ca-dir}/newcerts newcerts = ${:ca-dir}/newcerts
private = ${:ca-dir}/private private = ${:ca-dir}/private
promise = ${directory:etc}/promise
requests = ${:ca-dir}/requests requests = ${:ca-dir}/requests
run = ${:var}/run run = ${:var}/run
services = ${:etc}/run services = ${:etc}/run
......
...@@ -3,6 +3,7 @@ extends = ...@@ -3,6 +3,7 @@ extends =
buildout.hash.cfg buildout.hash.cfg
../../stack/cloudooo.cfg ../../stack/cloudooo.cfg
../../stack/logrotate/buildout.cfg ../../stack/logrotate/buildout.cfg
../../stack/monitor/buildout.cfg
parts = parts =
${cloudooo-buildout:parts} ${cloudooo-buildout:parts}
...@@ -78,6 +79,7 @@ xserver = ${xserver:location} ...@@ -78,6 +79,7 @@ xserver = ${xserver:location}
zlib = ${zlib:location} zlib = ${zlib:location}
template-apache-conf = ${template-apache-backend-conf:target} template-apache-conf = ${template-apache-backend-conf:target}
template-logrotate-base = ${template-logrotate-base:rendered} template-logrotate-base = ${template-logrotate-base:rendered}
template-monitor = ${monitor2-template:rendered}
[template-cloudooo-instance] [template-cloudooo-instance]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
......
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