Add fedora support for apply-test.sh

Change-Id: Id9d6e2977ff13c58f7fc6a31957a250bbe728c2e
Depends-On: Ia1a72f7b7e58a4e9861c6d5916521d0c0ad7f8ec
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-07-20 14:19:01 -04:00
parent b77c5fdbed
commit 037351ee19
2 changed files with 4 additions and 0 deletions

View File

@ -802,6 +802,7 @@ node 'single-use-slave-bare' {
# Node-OS: centos6
# Node-OS: centos7
# Node-OS: fedora21
# Node-OS: precise
# Node-OS: trusty
# This is not meant to be an actual node that connects to the master.

View File

@ -79,6 +79,9 @@ if [[ `lsb_release -i -s` == 'CentOS' ]]; then
fi
elif [[ `lsb_release -i -s` == 'Ubuntu' ]]; then
CODENAME=`lsb_release -c -s`
elif [[ `lsb_release -i -s` == 'Fedora' ]]; then
REL=`lsb_release -r -s`
CODENAME="fedora$REL"
fi
FOUND=0