Merge James' fix for ensuring new package installation during upgrade hook.
This commit is contained in:
@@ -415,6 +415,8 @@ def config_changed():
|
|||||||
|
|
||||||
|
|
||||||
def upgrade_charm():
|
def upgrade_charm():
|
||||||
|
# Ensure all required packages are installed
|
||||||
|
utils.install(*packages)
|
||||||
cluster_changed()
|
cluster_changed()
|
||||||
if cluster.eligible_leader(CLUSTER_RES):
|
if cluster.eligible_leader(CLUSTER_RES):
|
||||||
utils.juju_log('INFO',
|
utils.juju_log('INFO',
|
||||||
|
Reference in New Issue
Block a user