From c550f2158970fc222cf01ddccf71d03f96a4651d Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 28 May 2015 15:38:01 +0200 Subject: [PATCH] Enable F22 without the FORCE flag F22 has a stable release and working with devstack. The change also removes the version flags regarding to the mariadb-devel. NOTE: You may see yum deprecation warnings, unless you set the YUM variable to dnf. Change-Id: I05140765bffc16faef5a29dfaba291c290bfae02 --- files/rpms/devlibs | 3 +-- lib/ceph | 2 +- stack.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/files/rpms/devlibs b/files/rpms/devlibs index 834a4b6cf1..385ed3b84c 100644 --- a/files/rpms/devlibs +++ b/files/rpms/devlibs @@ -1,8 +1,7 @@ libffi-devel # pyOpenSSL libxml2-devel # lxml libxslt-devel # lxml -mariadb-devel # MySQL-python f20,f21,rhel7 -mysql-devel # MySQL-python rhel6 +mariadb-devel # MySQL-python openssl-devel # pyOpenSSL postgresql-devel # psycopg2 python-devel # pyOpenSSL diff --git a/lib/ceph b/lib/ceph index 4068e26222..4d6ca4aa68 100644 --- a/lib/ceph +++ b/lib/ceph @@ -110,7 +110,7 @@ function undefine_virsh_secret { # check_os_support_ceph() - Check if the operating system provides a decent version of Ceph function check_os_support_ceph { - if [[ ! ${DISTRO} =~ (trusty|f20|f21) ]]; then + if [[ ! ${DISTRO} =~ (trusty|f20|f21|f22) ]]; then echo "WARNING: your distro $DISTRO does not provide (at least) the Firefly release. Please use Ubuntu Trusty or Fedora 20 (and higher)" if [[ "$FORCE_CEPH_INSTALL" != "yes" ]]; then die $LINENO "If you wish to install Ceph on this distribution anyway run with FORCE_CEPH_INSTALL=yes" diff --git a/stack.sh b/stack.sh index dea56437dd..6615b8fef4 100755 --- a/stack.sh +++ b/stack.sh @@ -173,7 +173,7 @@ source $TOP_DIR/stackrc # Warn users who aren't on an explicitly supported distro, but allow them to # override check and attempt installation with ``FORCE=yes ./stack`` -if [[ ! ${DISTRO} =~ (precise|trusty|7.0|wheezy|sid|testing|jessie|f20|f21|rhel7) ]]; then +if [[ ! ${DISTRO} =~ (precise|trusty|7.0|wheezy|sid|testing|jessie|f20|f21|f22|rhel7) ]]; then echo "WARNING: this script has not been tested on $DISTRO" if [[ "$FORCE" != "yes" ]]; then die $LINENO "If you wish to run this script anyway run with FORCE=yes"