Commit 4e365059 authored by Rafael Monnerat's avatar Rafael Monnerat

cdn-me: Minor fixes

parent 4b074dae
...@@ -13,6 +13,7 @@ offline = true ...@@ -13,6 +13,7 @@ offline = true
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
home = $${buildout:directory} home = $${buildout:directory}
promise = $${:home}/etc/promise
etc = $${:home}/etc/ etc = $${:home}/etc/
var = $${:home}/var/ var = $${:home}/var/
srv = $${:home}/srv/ srv = $${:home}/srv/
...@@ -28,7 +29,7 @@ software-type = custom-personal ...@@ -28,7 +29,7 @@ software-type = custom-personal
slave = true slave = true
{% if slapparameter_dict.get('port', '80') != '443' %} {% if slapparameter_dict.get('port', '80') != '443' %}
config-url = https://[$${request-re6stnet-token-slave:connection-ipv6}1]:{{ slapparameter_dict.get('port', '80') }}/ config-url = http://[$${request-re6stnet-token-slave:connection-ipv6}1]:{{ slapparameter_dict.get('port', '80') }}/
{% endif -%} {% endif -%}
{% if slapparameter_dict.get('port', '80') == '443' %} {% if slapparameter_dict.get('port', '80') == '443' %}
...@@ -131,8 +132,7 @@ name = Monitor Frontend ...@@ -131,8 +132,7 @@ name = Monitor Frontend
software-url = product.frontend software-url = product.frontend
software-type = custom-personal software-type = custom-personal
slave = true slave = true
config-url = $${request-monitor-slave:connection-site_url} config-url = $${request-monitor-test-distributor-slave:connection-site_url}
config-domain = $${slap-parameter:frontend-domain}
return = site_url domain return = site_url domain
[publish-connection-informations] [publish-connection-informations]
...@@ -142,19 +142,20 @@ url = http://$${request-frontend-token-slave:connection-domain} ...@@ -142,19 +142,20 @@ url = http://$${request-frontend-token-slave:connection-domain}
token = $${request-re6stnet-token-slave:connection-token} token = $${request-re6stnet-token-slave:connection-token}
ipv6 = $${request-re6stnet-token-slave:connection-ipv6} ipv6 = $${request-re6stnet-token-slave:connection-ipv6}
ipv4 = $${request-re6stnet-token-slave:connection-ipv4} ipv4 = $${request-re6stnet-token-slave:connection-ipv4}
monitor_v6_url = $${request-monitor-slave:connection-site_url} monitor_v6_url = $${request-monitor-test-distributor-slave:connection-site_url}
monitor_url = https://$${monitor-frontend:connection-domain} monitor_url = https://$${monitor-frontend:connection-domain}
info_1 = $${request-re6stnet-token-slave:info_1} info_1 = $${request-re6stnet-token-slave:connection-info_1}
[connection-parameter-checker] [connection-parameter-checker]
recipe = slapos.cookbook:check_parameter recipe = slapos.cookbook:check_parameter
path = $${directory:promise}/check_re6stnet_ipv6 path = $${directory:promise}/check_re6stnet_ipv6
value = $${request-re6stnet-token-slave:connection-ipv6} value = $${request-re6stnet-token-slave:connection-ipv6}
not-expected = :: expected-not-value = ::
expected-value =
[connection-parameter-http-checker] [connection-parameter-http-checker]
recipe = slapos.cookbook:check_parameter recipe = slapos.cookbook:check_parameter
path = $${directory:promise}/check_re6stnet_http path = $${directory:promise}/check_re6stnet_http
value = $${publish-connection-informations:url} value = $${publish-connection-informations:url}
not-expected = http:// expected-not-value = http://
expected-value =
...@@ -21,7 +21,7 @@ mode = 0644 ...@@ -21,7 +21,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-cdn-request.cfg.jinja2 url = ${:_profile_base_location_}/instance-cdn-request.cfg.jinja2
output = ${buildout:directory}/template-cdn-request.cfg.jinja2 output = ${buildout:directory}/template-cdn-request.cfg.jinja2
md5sum = c16d7cd16bb8ef77f4a19b94b4253277 md5sum = 11c1bb2dca674d2efe41f8cb0389ec4c
mode = 0644 mode = 0644
[eggs] [eggs]
......
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