You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/01/21 10:34:17 UTC
[incubator-datalab] 01/01: [DATALAB-2253]: added installation of
lua-resty-jwt v.0.2.2;
latest 0.2.3 causes "unrecognised file extension error"
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2253
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 7a76d3782427ff59095cadef10af24ad49dadd27
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Jan 21 12:33:53 2021 +0200
[DATALAB-2253]: added installation of lua-resty-jwt v.0.2.2; latest 0.2.3 causes "unrecognised file extension error"
---
infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
index 7d207c3..d00454a 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
@@ -128,8 +128,10 @@ def install_nginx_lua(edge_ip, nginx_version, keycloak_auth_server_url, keycloak
with cd('/tmp/src/luarocks-3.3.1/'):
sudo('./configure')
sudo('make install')
+ sudo('luarocks install lua-resty-jwt 0.2.2 --tree /usr/local/openresty/lualib/resty/')
sudo('luarocks install lua-resty-openidc --tree /usr/local/openresty/lualib/resty/')
+ sudo('luarocks install lua-resty-jwt 0.2.2')
sudo('luarocks install lua-resty-openidc')
sudo('useradd -r nginx')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org