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

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


The following commit(s) were added to refs/heads/DLAB-1594-2 by this push:
     new 1f8c490  [DLAB-1594]: fixed error
1f8c490 is described below

commit 1f8c4901cc00e5a71818f8ccaa34219b0bd80c93
Author: leonidfrolov <[email protected]>
AuthorDate: Tue Aug 4 20:13:29 2020 +0300

    [DLAB-1594]: fixed error
---
 infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py 
b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index 4880f72..9993a70 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -244,14 +244,12 @@ if __name__ == "__main__":
 
     if os.environ['conf_letsencrypt_enabled'] == 'true':
         print("Configuring letsencrypt certificates.")
-        modules = dir()
-        print(modules)
-        install_certbot(os.environ['conf_os_family'], 'ssn')
+        install_certbot(os.environ['conf_os_family'])
         if 'conf_letsencrypt_email' in os.environ:
             run_certbot(os.environ['conf_letsencrypt_domain_name'], 'ssn', 
os.environ['conf_letsencrypt_email'])
         else:
             run_certbot(os.environ['conf_letsencrypt_domain_name'], 'ssn')
-        configure_nginx_LE(os.environ['conf_letsencrypt_domain_name'])
+        configure_nginx_LE(os.environ['conf_letsencrypt_domain_name'], 'ssn')
 
     #print("Installing jenkins.")
     #ensure_jenkins(args.dlab_path)


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

Reply via email to