Switch to python3-apt in Victoria
The python-apt binary package is removed in Ubuntu Groovy. Switch the charm to python3-apt. Change-Id: Ib3da731b3e649bf99d63229c376eb8c8354a72d7 Closes-Bug: #1899680
This commit is contained in:
parent
f4ed57fc08
commit
f6fbcd82a9
@ -30,6 +30,11 @@ PACKAGES = [
|
||||
'python3-barbican', 'libapache2-mod-wsgi-py3',
|
||||
'python-apt', # NOTE: workaround for hacluster suboridinate
|
||||
]
|
||||
PACKAGES_VICTORIA = [
|
||||
'barbican-common', 'barbican-api', 'barbican-worker',
|
||||
'python3-barbican', 'libapache2-mod-wsgi-py3',
|
||||
'python3-apt', # NOTE: workaround for hacluster suboridinate
|
||||
]
|
||||
BARBICAN_DIR = '/etc/barbican/'
|
||||
BARBICAN_CONF = BARBICAN_DIR + "barbican.conf"
|
||||
BARBICAN_API_PASTE_CONF = BARBICAN_DIR + "barbican-api-paste.ini"
|
||||
@ -237,3 +242,10 @@ class BarbicanCharm(charms_openstack.charm.HAOpenStackCharm):
|
||||
required_relations.append('hsm')
|
||||
return super(BarbicanCharm, self).states_to_check(
|
||||
required_relations=required_relations)
|
||||
|
||||
|
||||
class BarbicanCharmVictoria(BarbicanCharm):
|
||||
|
||||
release = 'victoria'
|
||||
|
||||
packages = PACKAGES_VICTORIA
|
||||
|
Loading…
Reference in New Issue
Block a user