Switch to python3-apt in Victoria

The python-apt binary package is removed in Ubuntu Groovy.
Switch the charm to python3-apt.

Change-Id: Ibef912c4e7099dfa8d189da717d14e59685a814b
Closes-Bug: #1899680
This commit is contained in:
Corey Bryant 2020-10-13 17:42:59 +00:00
parent 0e6c47a625
commit 83cf6e507b
1 changed files with 16 additions and 0 deletions

View File

@ -203,6 +203,22 @@ class AodhCharmRocky(AodhCharmOcata):
python_version = 3
class AodhCharmVictoria(AodhCharmRocky):
release = 'victoria'
packages = [
'aodh-api',
'aodh-evaluator',
'aodh-expirer',
'aodh-notifier',
'aodh-listener',
'python3-aodh',
'libapache2-mod-wsgi-py3',
'python3-apt', # NOTE: workaround for hacluster suboridinate
]
def install():
"""Use the singleton from the AodhCharm to install the packages on the
unit