system_email should be configurable
Bug #1499686 reported by
Peter Sabaini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
High
|
Simon Poirier |
Bug Description
There should be an option for choosing system_email, as the default doesn't always work. Eg. in the default trusty postfix config:
mail from:noreply@
501 5.1.7 Bad sender address syntax
landscape-
Related branches
lp:~simpoir/landscape-charm/1682105_revisit_config
- 🤖 Landscape Builder: Approve (test results)
- Kevin Nasto: Approve
-
Diff: 374 lines (+225/-21)5 files modifiedconfig.yaml (+23/-0)
lib/callbacks/scripts.py (+43/-12)
lib/callbacks/tests/test_scripts.py (+144/-7)
lib/services.py (+7/-2)
lib/tests/stubs.py (+8/-0)
Changed in landscape-charm: | |
importance: | Undecided → High |
milestone: | none → 15.07 |
Changed in landscape-charm: | |
status: | New → Triaged |
Changed in landscape-charm: | |
assignee: | nobody → Simon Poirier (simpoir) |
status: | Triaged → 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.
The charm has a Juju action called "bootstrap" (see actions.yaml) that lets you create the first admin. Would it be fine to add a system_email optional parameter to this action?
A config-level option wouldn't make too much sense, since there's now way to keep it in sync with the actual setting in Landscape (which you can always change via the UI).