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 eaeb086 [DLAB-1565]: Convey billing for remote endpoints - Mongo on
endpoint installation fixed
eaeb086 is described below
commit eaeb086f110136c86cf785a9ebdb2a8ff58fb798
Author: Mykola_Bodnar1 <[email protected]>
AuthorDate: Thu Mar 12 12:48:19 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 34cc60a..1b72691 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -268,10 +268,10 @@ def ensure_mongo_endpoint():
conn.sudo('cp -i /tmp/mongod.service_template
/lib/systemd/system/mongod.service')
conn.sudo('systemctl daemon-reload')
conn.sudo('systemctl enable mongod.service')
- if not exist(conn, '/tmp/configure_mongo.py'):
+ if not exists(conn, '/tmp/configure_mongo.py'):
conn.put('./mongo_files/configure_mongo.py',
'/tmp/configure_mongo.py')
conn.sudo('sed -i "s|PASSWORD|{}|g"
/tmp/configure_mongo.py'.format(args.mongo_password))
- if not exist(conn, '/tmp/mongo_roles.json'):
+ if not exists(conn, '/tmp/mongo_roles.json'):
conn.put('./mongo_files/gcp/mongo_roles.json',
'/tmp/mongo_roles.json')
conn.sudo('python /tmp/configure_mongo.py')
except Exception as err:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]