summaryrefslogtreecommitdiff
diff options
authorFelipe Reyes <felipe.reyes@canonical.com>2018-05-25 13:49:49 +0000
committerFelipe Reyes <felipe.reyes@canonical.com>2018-05-25 13:49:49 +0000
commit29c4f3272d46feb4468e37746accaf52864e2184 (patch)
tree129c0b3bab7c883d932ab3333b5efc70453f8737
parentf7b9f6fe4928a4b658e0a9af800001934581dd95 (diff)
Set workload to maintenance right before starting package installation
-rwxr-xr-xhooks/hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/hooks.py b/hooks/hooks.py
index 5ac0818..b968f57 100755
--- a/hooks/hooks.py
+++ b/hooks/hooks.py
@@ -921,8 +921,8 @@ def arm64_trusty_quirk():
@hooks.hook('install.real')
def install_hook():
juju_log('Begin install hook.')
- status_set('maintenance', 'Installing packages')
execd_preinstall()
+ status_set('maintenance', 'Installing packages')
juju_log("Installing mongodb")
add_source(config('source'), config('key'))