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 c154402  [DLAB-1565]: Convey billing for remote endpoints - Mongo on 
endpoint installation fixed, pymongo added
c154402 is described below

commit c154402bc1747dd042adbf530f147b0bdccc8094
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 12 13:07:44 2020 +0200

    [DLAB-1565]: Convey billing for remote endpoints - Mongo on endpoint 
installation fixed, pymongo added
---
 infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py 
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index fd97d6f..d117962 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -259,6 +259,7 @@ def ensure_mongo_endpoint():
             conn.sudo('apt-get update')
             conn.sudo('apt-get -y --allow-unauthenticated install mongodb-org')
             conn.sudo('systemctl enable mongod.service')
+            conn.sudo('sudo apt-get -y install python-pip')
             conn.sudo('pip install -U pymongo --no-cache-dir ')
             conn.sudo('touch /home/{}/.ensure_dir/mongo_ensured'
                       .format(args.os_user))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to