]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
fixed adding cassandra repo for the second time hammer-improvements
authorMichal Nowikowski <godfryd@isc.org>
Mon, 15 Apr 2019 06:03:50 +0000 (08:03 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Mon, 15 Apr 2019 06:04:35 +0000 (08:04 +0200)
hammer.py

index c5dacce0d0053a2e85a44c94897b87c0a8717428..35042086ad05c554d207791f00ed3850c99af0df 100755 (executable)
--- a/hammer.py
+++ b/hammer.py
@@ -868,7 +868,7 @@ def _install_cassandra_rpm(system, env, check_times):
     if not os.path.exists('/usr/bin/cassandra'):
         if system == 'centos':
             install_pkgs('yum-utils', env=env, check_times=check_times)
-            execute('sudo yum-config-manager --add-repo https://www.apache.org/dist/cassandra/redhat/311x/')
+            execute('sudo yum-config-manager --add-repo https://www.apache.org/dist/cassandra/redhat/311x/', raise_error=False)
             execute('sudo rpm --import https://www.apache.org/dist/cassandra/KEYS')
             pkgs = 'cassandra cassandra-tools libuv libuv-devel openssl'
         else: