stable/train release patch

- Train has been archived to vault for RHEL 8 and this breaks CI currently.

Signed-off-by: Lance Albertson <lance@osuosl.org>
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/833881
Change-Id: I39e49935ebb58cbaa4a9071b0a22a3e50d84aba0
This commit is contained in:
Lance Albertson 2022-03-14 17:43:20 -07:00
parent df9900d25b
commit 023a0940f9
2 changed files with 9 additions and 1 deletions

View File

@ -2,3 +2,4 @@
host=review.opendev.org
port=29418
project=openstack/cookbook-openstack-common.git
defaultbranch=stable/train

View File

@ -143,7 +143,14 @@ default['openstack']['apt']['components'] = ['main']
default['openstack']['yum']['update_yum_cache'] = false
default['openstack']['yum']['rdo_enabled'] = true
default['openstack']['yum']['uri'] = "http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-#{node['openstack']['release']}"
default['openstack']['yum']['uri'] =
if node['platform_version'].to_i >= 8
# TODO: Train has been archived to vault for RHEL 8
# "http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-#{node['openstack']['release']}"
"https://vault.centos.org/8.5.2111/cloud/x86_64/openstack-#{node['openstack']['release']}/"
else
"http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-#{node['openstack']['release']}"
end
default['openstack']['yum']['repo-key'] = "https://github.com/rdo-infra/rdo-release/raw/#{node['openstack']['release']}-rdo/RPM-GPG-KEY-CentOS-SIG-Cloud"
# Enforcing GnuPG signature check for RDO repo. Set this to false if you want to disable the check.
default['openstack']['yum']['gpgcheck'] = true