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 1790aea fixed typo 1790aea is described below commit 1790aea5111891040c3fa877f9768a1418c47d1e Author: Oleh Martushevskyi <oleh_martushevs...@epam.com> AuthorDate: Wed Oct 30 17:49:57 2019 +0200 fixed typo --- infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py index c2ea471..5e7182c 100644 --- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py +++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py @@ -135,10 +135,10 @@ def ensure_step_certs(): 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('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 ' - '--force --expires-in 8h >> /var/log/renew_certificates.log" >> /etc/crontab'.format( - args.os_user, args.step_ca_url)) + conn.sudo('bash -c \'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 --force --expires-in 8h >> /var/log/renew_certificates.log"\' ' + '>> /etc/crontab'.format(args.os_user, args.step_ca_url)) conn.sudo('touch /home/{}/.ensure_dir/step_ensured' .format(args.os_user)) except Exception as err: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org