Skip to content

Instantly share code, notes, and snippets.

@fmonserrat
Last active March 18, 2016 13:13
Show Gist options
  • Save fmonserrat/c94281b95354b502e116 to your computer and use it in GitHub Desktop.
Save fmonserrat/c94281b95354b502e116 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -x
. $(git rev-parse --show-toplevel)/new/functions/common.sh
( cd ${PROVISION_BASE_DIR}/${SCRIPT_NAME} &>/dev/null || {
echo "Cannot chdir to script dir!"
exit 1
}
)
packgs=(
wwwh-int-python-27
wwwh-int-python-27-setuptools
wwwh-int-python-27-pip
wwwh-pyfiscan
wwwh-pyfiscan-sigs
)
pip_packgs=(
docopt
pyyaml
jinja2
scandir
)
yum --enablerepo=armory -y install "${packgs[@]}"
/usr/local/wwwh/bin/pip install "${pip_packgs[@]}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment