From 55f6e468a1d953ddfd67fb9095706a4f11b984f0 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 20 Jul 2015 14:28:47 -0400 Subject: [PATCH] Add centos7 support for apply-test.sh Change-Id: I10da00d7e4e8dcbad5c095cbeee2bc8f4c389bb6 Signed-off-by: Paul Belanger --- manifests/site.pp | 1 + tools/apply-test.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index 1c53e141d4..6e2d51baf9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -785,6 +785,7 @@ node 'openstackid-dev.openstack.org' { } # Node-OS: centos6 +# Node-OS: centos7 # Node-OS: precise # Node-OS: trusty # This is not meant to be an actual node that connects to the master. diff --git a/tools/apply-test.sh b/tools/apply-test.sh index 305ffccb62..78c2255d25 100755 --- a/tools/apply-test.sh +++ b/tools/apply-test.sh @@ -74,6 +74,8 @@ mv applytest/prep00 applytest/head # These are the top-level variables defined if [[ `lsb_release -i -s` == 'CentOS' ]]; then if [[ `lsb_release -r -s` =~ '6' ]]; then CODENAME='centos6' + elif [[ `lsb_release -r -s` =~ '7' ]]; then + CODENAME='centos7' fi elif [[ `lsb_release -i -s` == 'Ubuntu' ]]; then CODENAME=`lsb_release -c -s`