This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-515
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-515 by this push:
new c859336 [DLAB-515]: fixed issue with Ubuntu version change
c859336 is described below
commit c8593369e9e48fe45bd93baa323505fb41857823
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Wed Mar 25 12:23:13 2020 +0200
[DLAB-515]: fixed issue with Ubuntu version change
---
infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
index e5c8825..f6b41fc 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
@@ -161,9 +161,7 @@ def ensure_supervisor():
def ensure_mongo():
try:
if not exists(os.environ['ssn_dlab_path'] + 'tmp/mongo_ensured'):
- sudo('apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv
EA312927')
- sudo('ver=`lsb_release -cs`; echo "deb
http://repo.mongodb.org/apt/ubuntu $ver/mongodb-org/3.2 multiverse" | sudo tee
/etc/apt/sources.list.d/mongodb-org-3.2.list; apt-get update')
- manage_pkg('-y --allow-unauthenticated install', 'remote',
'mongodb-org')
+ manage_pkg('-y install', 'remote', 'mongodb')
sudo('systemctl enable mongod.service')
sudo('touch ' + os.environ['ssn_dlab_path'] + 'tmp/mongo_ensured')
except Exception as err:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]