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/07/10 12:43:31 UTC
[incubator-dlab] 01/01: [DLAB-176]: Fixed issue with install
devtools R package
This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-176
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 3d3a28118787bc95d5619205947f8b6899c2ac8c
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Jul 10 15:43:21 2019 +0300
[DLAB-176]: Fixed issue with install devtools R package
---
infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py | 2 +-
infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
index 316f792..12d2116 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
@@ -27,7 +27,7 @@ import sys
import os
-def ensure_pkg(user, requisites='git vim gcc python-devel openssl-devel nmap libffi libffi-devel unzip'):
+def ensure_pkg(user, requisites='git vim gcc python-devel openssl-devel nmap libffi libffi-devel unzip libxml2-devel'):
try:
if not exists('/home/{}/.ensure_dir/pkg_upgraded'.format(user)):
print("Updating repositories and installing requested tools: {}".format(requisites))
diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
index a103d26..ef0c4ba 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
@@ -218,7 +218,7 @@ def ensure_python2_libraries(os_user):
try:
sudo('pip2 install pyparsing==2.0.3')
sudo('yum install -y python-setuptools python-wheel')
- sudo('yum install -y python-virtualenv openssl-devel python-devel openssl-libs libxml2-devel libxslt-devel --nogpgcheck')
+ sudo('yum install -y python-virtualenv openssl-devel python-devel openssl-libs libxslt-devel --nogpgcheck')
try:
sudo('python2 -m pip install backports.shutil_get_terminal_size tornado=={0} ipython ipykernel=={1} --no-cache-dir' \
.format(os.environ['notebook_tornado_version'], os.environ['notebook_ipykernel_version']))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org