Switch to python3-apt in Victoria

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

Change-Id: Iaf1da59f71898e273ecd33e0186bbd49ea45ce56
Closes-Bug: #1899680
This commit is contained in:
Corey Bryant 2020-10-13 17:55:08 +00:00
parent fd7cb7b570
commit b9691d07e3
1 changed files with 11 additions and 0 deletions

View File

@ -698,3 +698,14 @@ class DesignateCharmRocky(DesignateCharmQueens):
# sync it - just set the done flag and move on.
if not self.pool_manager_cache_sync_done() and hookenv.is_leader():
hookenv.leader_set({'pool-manager-cache-sync-done': True})
class DesignateCharmVictoria(DesignateCharmRocky):
release = 'victoria'
packages = ['designate-agent', 'designate-api', 'designate-central',
'designate-common', 'designate-mdns',
'designate-worker', 'designate-sink',
'designate-producer', 'bind9utils',
'python3-designate',
'python3-apt']