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 94d2549  added renew certs
94d2549 is described below

commit 94d25496ec10df27a3b3ac5a339f1529a75e3922
Author: Oleh Martushevskyi <oleh_martushevs...@epam.com>
AuthorDate: Wed Oct 30 16:39:19 2019 +0200

    added renew certs
---
 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 248ff05..c2ea471 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -133,7 +133,7 @@ def ensure_step_certs():
             conn.sudo('mv /tmp/renew_certificates.sh /usr/local/bin/')
             conn.sudo('chmod +x /usr/local/bin/renew_certificates.sh')
             conn.sudo('sed -i "s/OS_USER/{0}/g" 
/usr/local/bin/renew_certificates.sh'.format(args.os_user))
-            conn.sudo('sed -i "s/JAVA_HOME/{0}/g" 
/usr/local/bin/renew_certificates.sh'.format(java_home))
+            conn.sudo('sed -i "s|JAVA_HOME|{0}|g" 
/usr/local/bin/renew_certificates.sh'.format(java_home))
             conn.sudo('touch /var/log/renew_certificates.log')
             conn.sudo('echo "0 */3 * * * root step ca renew 
/home/{0}/keys/endpoint.crt /home/{0}/keys/endpoint.key '
                       '--exec "/usr/local/bin/renew_certificates.sh" --ca-url 
"{1}" --root /home/{0}/keys/root_ca.crt '


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

Reply via email to