This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1565
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1565 by this push:
new f34781e [DLAB-1565]: Convey billing for remote endpoints - Mongo on
endpoint fixed
f34781e is described below
commit f34781e0bd70269ef6165828249f5a76ff9ad6b6
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Wed Mar 11 17:44:30 2020 +0200
[DLAB-1565]: Convey billing for remote endpoints - Mongo on endpoint fixed
---
infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index cb39563..965d8d0 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -253,7 +253,7 @@ def ensure_mongo_endpoint():
print('[INSTALLING MONGO DATABASE]')
if not exists(conn,
'/home/{}/.ensure_dir/mongo_ensured'.format(args.os_user)):
conn.sudo('apt-key adv --keyserver hkp://keyserver.ubuntu.com:80
--recv EA312927')
- conn.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')
+ conn.sudo('bash -c 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')
conn.sudo('apt-get install mongodb-org -y --allow-unauthenticated
install')
conn.sudo('systemctl enable mongod.service')
conn.sudo('touch /home/{}/.ensure_dir/mongo_ensured'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]