Merge "install netaddr for cobbler snippet" into dev/experimental

This commit is contained in:
Jenkins 2014-11-10 18:26:19 +00:00 committed by Gerrit Code Review
commit 9146158be5
2 changed files with 10 additions and 0 deletions

View File

@ -22,6 +22,12 @@ else
find /usr/lib -name manage_bind.py |xargs perl -pi.old -e 's/(\s+)(self\.logger\s+\= logger)/$1$2\n$1if self\.logger is None:\n$1 import clogger\n$1 self\.logger = clogger.Logger\(\)/'
fi
sudo pip install netaddr
if [[ "$?" != "0" ]]; then
echo "failed to install pip packages"
exit 1
fi
sudo chkconfig cobblerd on
# create backup dir

View File

@ -33,6 +33,10 @@ if [[ "$?" != "0" ]]; then
fi
sudo pip install virtualenvwrapper
if [[ "$?" != "0" ]]; then
echo "failed to install virtualenvwrapper"
exit 1
fi
sudo chkconfig httpd on
sudo chkconfig squid on