From 394ad1b6b9fcc55298a54529b21137c9b2e13c11 Mon Sep 17 00:00:00 2001 From: Stuart Mackie Date: Wed, 30 Nov 2016 09:28:53 -0800 Subject: Modfiy cassandra charm to use --force-yes Change-Id: I6abbaffcdb2984ea71439d50503b75f527e7695a Signed-off-by: Stuart Mackie --- charms/trusty/cassandra/hooks/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charms/trusty/cassandra/hooks/hooks.py b/charms/trusty/cassandra/hooks/hooks.py index e5b64ed..5f7a0c6 100644 --- a/charms/trusty/cassandra/hooks/hooks.py +++ b/charms/trusty/cassandra/hooks/hooks.py @@ -35,7 +35,7 @@ def bootstrap(): packages = ['python3-bcrypt', 'python3-cassandra'] set_proxy() fetch.configure_sources(update=True) - fetch.apt_install(packages, fatal=True) + fetch.apt_install(packages, options="--force-yes", fatal=True) import bcrypt # NOQA: flake8 import cassandra # NOQA: flake8 -- cgit 1.2.3-korg