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 fb3dd9d [DLAB-1565]: Convey billing for remote endpoints - Mongo on
endpoint installation fixed
fb3dd9d is described below
commit fb3dd9d352d2c99a5a8faaa7ec8a11ef25e10abc
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 12 11:57:45 2020 +0200
[DLAB-1565]: Convey billing for remote endpoints - Mongo on endpoint
installation fixed
---
infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index 4ff9f9b..2700177 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -253,8 +253,8 @@ 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('bash -c ver=`lsb_release -cs`; '
- 'echo "deb http://repo.mongodb.org/apt/ubuntu
$ver/mongodb-org/3.2 multiverse" | '
+ conn.sudo('bash -c '
+ 'echo "deb http://repo.mongodb.org/apt/ubuntu
$(lsb_release -cs)/mongodb-org/3.2 multiverse" | '
'sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list; '
'sudo apt-get update')
conn.sudo('apt-get install mongodb-org -y --allow-unauthenticated
install')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]