add logging

This commit is contained in:
Ch3LL 2017-04-18 10:53:18 -04:00
parent 3a919343cc
commit 10ea818d62
No known key found for this signature in database
GPG key ID: E913CB5901E0C81C

View file

@ -1103,14 +1103,17 @@ __install_python_and_deps() {
__PYTHON_REPO_URL="https://centos${DISTRO_MAJOR_VERSION}.iuscommunity.org/ius-release.rpm"
if [ $_DISABLE_REPOS -eq $BS_FALSE ]; then
echoinfo "Installing IUS repo"
yum install -y ${__PYTHON_REPO_URL} || return 1
fi
echoinfo "Installing ${_PY_EXE}"
yum install -y ${__PACKAGES} || return 1
_PIP_PACKAGES="tornado PyYAML msgpack-python jinja2 pycrypto zmq"
# Install Dependencies with different python version
echoinfo "Installing salt dependencies using the ${_PY_EXE} pip executable"
${_PY_EXE} -m pip install ${_PIP_PACKAGES} || return 1
}