Add tests for providers and update install script
This commit is contained in:
parent
0c05958739
commit
20da91d879
7 changed files with 64 additions and 10 deletions
|
@ -24,11 +24,11 @@ if [ -f /conf/stack/extra_ca_certs ]; then
|
|||
fi
|
||||
|
||||
## Add extra trusted certificates (prefixed)
|
||||
for f in $(ls /conf/stack/extra_ca* | grep -v ':$')
|
||||
for f in $(ls -p /conf/stack/extra_ca* | grep -v ':$' | grep -v '/$')
|
||||
do
|
||||
echo "Installing extra cert $f"
|
||||
cp "/conf/stack/$f" /usr/local/share/ca-certificates/
|
||||
cat "/conf/stack/$f" >> /venv/lib/python2.7/site-packages/requests/cacert.pem
|
||||
cp "$f" /usr/local/share/ca-certificates/
|
||||
cat "$f" >> /venv/lib/python2.7/site-packages/requests/cacert.pem
|
||||
done
|
||||
|
||||
# Update all CA certificates.
|
||||
|
|
Reference in a new issue