2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

fixed adding cassandra repo for the second time

This commit is contained in:
Michal Nowikowski
2019-04-15 08:03:50 +02:00
parent 84b02075e5
commit 351a58d8af

View File

@@ -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: