Configure secret-token key in service.conf
Bug #1418020 reported by
Free Ekanayaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
Medium
|
Данило Шеган |
Bug Description
The landscape section in service.conf should have an entry like:
[landscape]
secret-token = 2d3dbbcb171b6c3
(code to generate it can be copied from c.l.scripts.
this should be common across all units, so it should go into hooks.lib.
NOTE: it seems at the moment this bit is not handled in the stable charm (perhaps and oversight).
Related branches
lp:~danilo/landscape-charm/secret-token
- Adam Collard (community): Approve
- 🤖 Landscape Builder: Approve (test results)
- Free Ekanayaka (community): Approve
-
Diff: 103 lines (+20/-5)7 files modifiedhooks/lib/relations/landscape.py (+2/-1)
hooks/lib/relations/tests/test_landscape.py (+8/-3)
hooks/lib/tests/sample.py (+1/-0)
hooks/lib/tests/stubs.py (+5/-1)
hooks/lib/tests/test_services.py (+1/-0)
hooks/lib/tests/test_templates.py (+2/-0)
templates/service.conf (+1/-0)
Changed in landscape-charm: | |
importance: | Undecided → Medium |
tags: | added: upgradable-charm |
Changed in landscape-charm: | |
assignee: | nobody → Данило Шеган (danilo) |
status: | New → In Progress |
tags: | added: kanban |
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
milestone: | none → 1.0 |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.