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

commit 4b9669d4bd63277438e8989a6b9b576146f07f04
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 12 11:22:22 2020 +0200

    [DLAB-1565]: Convey billing for remote endpoints - Mongo on endpoint 
installation 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 a0df32f..1c8c29a 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -252,7 +252,7 @@ def ensure_mongo_endpoint():
     try:
         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 wget -qO - 
https://www.mongodb.org/static/pgp/server-3.2.asc | sudo apt-key add -')
 
             conn.sudo('add-apt-repository "deb [arch=amd64] '
                       'http://repo.mongodb.org/apt/ubuntu '


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

Reply via email to