Commit 351a58d8 authored by Michal Nowikowski's avatar Michal Nowikowski

fixed adding cassandra repo for the second time

parent 84b02075
......@@ -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')
execute('sudo yum-config-manager --add-repo', raise_error=False)
execute('sudo rpm --import')
pkgs = 'cassandra cassandra-tools libuv libuv-devel openssl'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment