Add a root-url config option
Bug #1446178 reported by
Free Ekanayaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Chris Glass |
Bug Description
We should add a root-url config option, which gets written to the service.conf file under the global section, e.g.:
[global]
root-url = https:/
If not given, it should default to the public-address of the first haproxy unit we relate to (see hooks.lib.
Related branches
lp:~tribaal/landscape-charm/add-root-url
- Free Ekanayaka (community): Approve
- Benji York (community): Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 282 lines (+167/-5)10 files modifiedconfig.yaml (+6/-0)
hooks/lib/relations/config.py (+23/-0)
hooks/lib/relations/haproxy.py (+2/-1)
hooks/lib/relations/tests/test_config.py (+59/-0)
hooks/lib/relations/tests/test_landscape.py (+1/-1)
hooks/lib/services.py (+3/-2)
hooks/lib/tests/test_templates.py (+25/-1)
hooks/lib/tests/test_utils.py (+29/-0)
hooks/lib/utils.py (+14/-0)
templates/service.conf (+5/-0)
tags: | removed: kanban |
Changed in landscape-charm: | |
assignee: | nobody → Chris Glass (tribaal) |
status: | New → In Progress |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.