7e931aabef
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: I80355c8a82a0a0b295672c97c0740809659405b1
39 lines
1.3 KiB
Plaintext
39 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]
|