charm-helpers
charm-helpers copied to clipboard
Ought to introduce a helper for "release = lsb_release()['DISTRIB_CODENAME'].lower()"
charm-helpers itself, and lots of charms, use this exact line:
release = lsb_release()['DISTRIB_CODENAME'].lower()
There ought to be a helper that does this, and do it through the code base.
Note, that this will also have to be done for the centos host_factory too.
@ajkavanagh
The Ubuntu portion: https://github.com/juju/charm-helpers/pull/268
Thanks @dshcherb for starting this off. I've left a review on the PR. Thanks!