This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-515
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-515 by this push:
     new 59800e4  [DLAB-515]: fixed issue with Ubuntu version change
59800e4 is described below

commit 59800e485afecf76296fa3841367bfe2598ab7bd
Author: Oleh Martushevskyi <oleh_martushevs...@epam.com>
AuthorDate: Wed Mar 25 12:47:27 2020 +0200

    [DLAB-515]: fixed issue with Ubuntu version change
---
 infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
index f6b41fc..c5b949e 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
@@ -162,7 +162,7 @@ def ensure_mongo():
     try:
         if not exists(os.environ['ssn_dlab_path'] + 'tmp/mongo_ensured'):
             manage_pkg('-y install', 'remote', 'mongodb')
-            sudo('systemctl enable mongod.service')
+            sudo('systemctl enable mongodb.service')
             sudo('touch ' + os.environ['ssn_dlab_path'] + 'tmp/mongo_ensured')
     except Exception as err:
         traceback.print_exc()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to