Add CentOS 7 support

This patch adds CentOS 7 support to the rsyslog_server role
and should have the necessary requirements to test properly
in the OpenStack gate.

Implements: blueprint multi-platform-host

Change-Id: Idf6e1614e84c26fe72c655bdb84c2cca0c661816
This commit is contained in:
Major Hayden 2016-06-21 11:07:52 -05:00 committed by Jesse Pretorius (odyssey4me)
parent b89144d181
commit 480fa37d8c
3 changed files with 15 additions and 2 deletions

View File

@ -14,7 +14,13 @@
# TODO(odyssey4me) remove this once https://review.openstack.org/288634 has merged
# and the disk images are rebuilt and redeployed.
curl
wget
# Requirements for Paramiko 2.0
libssl-dev
libffi-dev
libssl-dev [platform:dpkg]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
openssl-devel [platform:rpm]
# For selinux
libselinux-python [platform:rpm]

View File

@ -0,0 +1,3 @@
---
features:
- The ``rsyslog_server`` role now has support for CentOS 7.

View File

@ -22,6 +22,10 @@ if [ "$(which apt-get)" ]; then
apt-get install -y build-essential python2.7 python-dev git-core libssl-dev libffi-dev
fi
if [ "$(which yum)" ]; then
yum install -y '@Development Tools' python-devel git libffi-devel openssl-devel
fi
# get pip, if necessary
if [ ! "$(which pip)" ]; then
curl --silent --show-error --retry 5 \