You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/11/04 16:26:19 UTC

[incubator-dlab] branch DLAB-1158 updated: fixed typo

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

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


The following commit(s) were added to refs/heads/DLAB-1158 by this push:
     new 1870a20  fixed typo
1870a20 is described below

commit 1870a207d7d0bc3ccac8888d04f20fdddac7f5af
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Mon Nov 4 18:26:06 2019 +0200

    fixed typo
---
 .../src/project/scripts/configure_nginx_reverse_proxy.py     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/infrastructure-provisioning/src/project/scripts/configure_nginx_reverse_proxy.py b/infrastructure-provisioning/src/project/scripts/configure_nginx_reverse_proxy.py
index 57ca310..74d0138 100644
--- a/infrastructure-provisioning/src/project/scripts/configure_nginx_reverse_proxy.py
+++ b/infrastructure-provisioning/src/project/scripts/configure_nginx_reverse_proxy.py
@@ -53,12 +53,12 @@ if __name__ == "__main__":
     except Exception as err:
         print("Failed establish connection. Excpeption: " + str(err))
         sys.exit(1)
-
-    try:
-        ensure_step(args.user)
-    except Exception as err:
-        print("Failed install step: " + str(err))
-        sys.exit(1)
+    if os.environ['conf_stepcerts_enabled'] == 'true':
+        try:
+            ensure_step(args.user)
+        except Exception as err:
+            print("Failed install step: " + str(err))
+            sys.exit(1)
 
     try:
         install_nginx_ldap(args.hostname, os.environ['reverse_proxy_nginx_version'],


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