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

commit 3603ce6dd075f10d0c8868d09d2d708ceb4b39c2
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 12 12:58:12 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 1b72691..fd97d6f 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('pip install -U pymongo --no-cache-dir ')
             conn.sudo('touch /home/{}/.ensure_dir/mongo_ensured'
                       .format(args.os_user))
         print('[CONFIGURING MONGO DATABASE]')


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

Reply via email to