Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
4e365059
Commit
4e365059
authored
Nov 06, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cdn-me: Minor fixes
parent
4b074dae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
software/cdn-me/instance-cdn-request.cfg.jinja2
software/cdn-me/instance-cdn-request.cfg.jinja2
+9
-8
software/cdn-me/software.cfg
software/cdn-me/software.cfg
+1
-1
No files found.
software/cdn-me/instance-cdn-request.cfg.jinja2
View file @
4e365059
...
...
@@ -13,6 +13,7 @@ offline = true
[directory]
recipe = slapos.cookbook:mkdirectory
home = $${buildout:directory}
promise = $${:home}/etc/promise
etc = $${:home}/etc/
var = $${:home}/var/
srv = $${:home}/srv/
...
...
@@ -28,7 +29,7 @@ software-type = custom-personal
slave = true
{% if slapparameter_dict.get('port', '80') != '443' %}
config-url = http
s
://[$${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 -%}
{% if slapparameter_dict.get('port', '80') == '443' %}
...
...
@@ -131,8 +132,7 @@ name = Monitor Frontend
software-url = product.frontend
software-type = custom-personal
slave = true
config-url = $${request-monitor-slave:connection-site_url}
config-domain = $${slap-parameter:frontend-domain}
config-url = $${request-monitor-test-distributor-slave:connection-site_url}
return = site_url domain
[publish-connection-informations]
...
...
@@ -142,19 +142,20 @@ url = http://$${request-frontend-token-slave:connection-domain}
token = $${request-re6stnet-token-slave:connection-token}
ipv6 = $${request-re6stnet-token-slave:connection-ipv6}
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}
info_1 = $${request-re6stnet-token-slave:info_1}
info_1 = $${request-re6stnet-token-slave:
connection-
info_1}
[connection-parameter-checker]
recipe = slapos.cookbook:check_parameter
path = $${directory:promise}/check_re6stnet_ipv6
value = $${request-re6stnet-token-slave:connection-ipv6}
not-expected = ::
expected-not-value = ::
expected-value =
[connection-parameter-http-checker]
recipe = slapos.cookbook:check_parameter
path = $${directory:promise}/check_re6stnet_http
value = $${publish-connection-informations:url}
not-expected
= http://
expected-not-value
= http://
expected-value =
software/cdn-me/software.cfg
View file @
4e365059
...
...
@@ -21,7 +21,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-cdn-request.cfg.jinja2
output = ${buildout:directory}/template-cdn-request.cfg.jinja2
md5sum =
c16d7cd16bb8ef77f4a19b94b4253277
md5sum =
11c1bb2dca674d2efe41f8cb0389ec4c
mode = 0644
[eggs]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment