summaryrefslogtreecommitdiffstats
path: root/charms/trusty/cassandra/hooks/helpers.py
diff options
context:
space:
mode:
authorStuart Mackie <wsmackie@juniper.net>2016-12-01 10:31:28 -0800
committerStuart Mackie <wsmackie@juniper.net>2016-12-01 10:31:28 -0800
commit95f88bd27aa9a08fe5fc7163b43b1a0945532bbd (patch)
treebe781dc1948944ad4c13efd13b9fd561ea5f4300 /charms/trusty/cassandra/hooks/helpers.py
parent394ad1b6b9fcc55298a54529b21137c9b2e13c11 (diff)
Add --force-yes option in correct place
Change-Id: I443df72975ea0428e4254daa356c1daa4890ba52 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'charms/trusty/cassandra/hooks/helpers.py')
-rw-r--r--charms/trusty/cassandra/hooks/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/charms/trusty/cassandra/hooks/helpers.py b/charms/trusty/cassandra/hooks/helpers.py
index b86a6b1..c94788f 100644
--- a/charms/trusty/cassandra/hooks/helpers.py
+++ b/charms/trusty/cassandra/hooks/helpers.py
@@ -103,7 +103,7 @@ def install_packages(packages):
# The DSE packages are huge, so this might take some time.
status_set('maintenance', 'Installing packages')
with autostart_disabled(['cassandra']):
- fetch.apt_install(packages, fatal=True)
+ fetch.apt_install(packages, options="--force-yes", fatal=True)
# FOR CHARMHELPERS