install_sources should adapt automatically to the Ubuntu series

Bug #1896686 reported by Andrea Ieri
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Azure Integrator Charm
Triaged
Medium
Unassigned

Bug Description

install_sources currently defaults to a Xenial repo, but the charm should be able to determine which series it's running on automatically.

It may be useful to retain the config option to satisfy corner cases, but I don't think operators should generally be required to configure install_sources whenever they're not deploying on Xenial.

Revision history for this message
George Kraft (cynerva) wrote :

Following the trail[1][2][3] from azure-integrator's config.yaml, it looks like this could be a one-line change from 'xenial' to '{series}' in the install_sources default value. Would need testing.

[1]: https://github.com/charmed-kubernetes/charm-azure-integrator/blob/d184ad25cf316145f99fb43a0947e0f049c5455b/config.yaml#L54-L56
[2]: https://bugs.launchpad.net/layer-apt/+bug/1796993
[3]: https://github.com/juju/charm-helpers/issues/229

Changed in charm-azure-integrator:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.