bf0c4ef981
Some Linux distributions, such as CentOS 7 and Xenial, have trouble validating SSL certificates when using get_url with servers that use Server Name Indication (SNI). This patch adds those packages to the list of required packages and uses bindep to install them in developer test environments the same way that the gate tests install them. Change-Id: Ibc90483b4d47e43c675f6696d8e0e6089d108f98 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# This file facilitates OpenStack-CI package installation
|
|
# before the execution of any tests.
|
|
#
|
|
# See the following for details:
|
|
# - http://docs.openstack.org/infra/bindep/
|
|
# - https://github.com/openstack-infra/bindep
|
|
#
|
|
# Even if the role does not make use of this facility, it
|
|
# is better to have this file empty, otherwise OpenStack-CI
|
|
# will fall back to installing its default packages which
|
|
# will potentially be detrimental to the tests executed.
|
|
|
|
# Base requirements for Ubuntu
|
|
build-essential [platform:dpkg]
|
|
git-core [platform:dpkg]
|
|
libssl-dev [platform:dpkg]
|
|
libffi-dev [platform:dpkg]
|
|
python2.7 [platform:dpkg]
|
|
python-dev [platform:dpkg]
|
|
|
|
# Base requirements for CentOS
|
|
gcc [platform:rpm]
|
|
gcc-c++ [platform:rpm]
|
|
git [platform:rpm]
|
|
python-devel [platform:rpm]
|
|
libffi-devel [platform:rpm]
|
|
openssl-devel [platform:rpm]
|
|
|
|
# For SELinux
|
|
libselinux-python [platform:rpm]
|
|
|
|
# For SSL SNI support
|
|
python-pyasn1 [platform:dpkg]
|
|
python-openssl [platform:dpkg]
|
|
python-ndg-httpsclient [platform:ubuntu !platform:ubuntu-trusty]
|
|
python2-pyasn1 [platform:rpm]
|
|
pyOpenSSL [platform:rpm]
|
|
python-ndg_httpsclient [platform:rpm]
|
|
|
|
|