Switch to Flamingo

Change-Id: Id869a0a4841864630b9668eb0a1d27c544b393c7
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-10-07 22:11:30 +09:00
parent a0345c28bc
commit 6553335b88
6 changed files with 19 additions and 19 deletions

View File

@@ -7,7 +7,7 @@
#
# [*release*]
# (optional) The OpenStack release to add a Debian apt source for.
# Defaults to 'epoxy'
# Defaults to 'flamingo'
#
# [*manage_deb*]
# (optional) Whether or not to add the default Debian APT source
@@ -39,7 +39,7 @@
# Defaults to "http://${facts['os']['distro']['codename']}-${release}.debian.net/debian"
#
class openstack_extras::repo::debian::debian (
String[1] $release = 'epoxy',
String[1] $release = 'flamingo',
Boolean $manage_deb = true,
Boolean $package_require = false,
Boolean $use_extrepo = true,

View File

@@ -8,7 +8,7 @@
# [*release*]
# (optional) The OpenStack release to add an Ubuntu Cloud Archive APT source
# for.
# Defaults to 'epoxy'
# Defaults to 'flamingo'
#
# [*manage_uca*]
# (optional) Whether or not to add the default Ubuntu Cloud Archive APT
@@ -42,7 +42,7 @@
# Defaults to $::openstack_extras::repo::debian::params::uca_location
#
class openstack_extras::repo::debian::ubuntu (
String[1] $release = 'epoxy',
String[1] $release = 'flamingo',
Boolean $manage_uca = true,
Enum['updates', 'proposed'] $repo = 'updates',
Hash $source_hash = {},

View File

@@ -7,7 +7,7 @@
#
# [*release*]
# (Optional) The OpenStack release to use.
# Defaults to 'epoxy'
# Defaults to 'flamingo'
#
# [*manage_rdo*]
# (Optional) Whether to create a yumrepo resource for the
@@ -72,7 +72,7 @@
# Defaults to false
#
class openstack_extras::repo::redhat::redhat (
String[1] $release = 'epoxy',
String[1] $release = 'flamingo',
Boolean $manage_rdo = true,
Hash $repo_hash = {},
Hash $repo_source_hash = {},

View File

@@ -14,7 +14,7 @@ describe 'openstack_extras::repo::debian::debian' do
let :paramclass_defaults do
{
:release => 'epoxy'
:release => 'flamingo'
}
end
@@ -23,11 +23,11 @@ describe 'openstack_extras::repo::debian::debian' do
end
context 'with default params' do
it { should contain_exec('/usr/bin/extrepo enable openstack_epoxy').with(
it { should contain_exec('/usr/bin/extrepo enable openstack_flamingo').with(
:command => "/bin/true # comment to satisfy puppet syntax requirements
apt-get update
apt-get install -y extrepo
extrepo enable openstack_epoxy
extrepo enable openstack_flamingo
apt-get update
",
)}
@@ -58,14 +58,14 @@ apt-get update
end
it { should contain_apt__source('debian-openstack-backports').with(
:location => "http://#{facts[:os]['distro']['codename']}-epoxy.debian.net/debian",
:release => "#{facts[:os]['distro']['codename']}-epoxy-backports",
:location => "http://#{facts[:os]['distro']['codename']}-flamingo.debian.net/debian",
:release => "#{facts[:os]['distro']['codename']}-flamingo-backports",
:repos => 'main',
)}
it { should contain_apt__source('debian-openstack-backports-nochange').with(
:location => "http://#{facts[:os]['distro']['codename']}-epoxy.debian.net/debian",
:release => "#{facts[:os]['distro']['codename']}-epoxy-backports-nochange",
:location => "http://#{facts[:os]['distro']['codename']}-flamingo.debian.net/debian",
:release => "#{facts[:os]['distro']['codename']}-flamingo-backports-nochange",
:repos => 'main'
)}

View File

@@ -13,7 +13,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
let :paramclass_defaults do
{
:release => 'epoxy'
:release => 'flamingo'
}
end
@@ -28,7 +28,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
it { should contain_apt__source('ubuntu-cloud-archive').with(
:location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
:release => "#{facts[:os]['distro']['codename']}-updates/epoxy",
:release => "#{facts[:os]['distro']['codename']}-updates/flamingo",
:repos => 'main',
)}
@@ -130,7 +130,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
it { should contain_apt__source('ubuntu-cloud-archive').with(
:location => 'http://mirror.dfw.rax.openstack.org/ubuntu-cloud-archive',
:release => "#{facts[:os]['distro']['codename']}-proposed/epoxy",
:release => "#{facts[:os]['distro']['codename']}-proposed/flamingo",
:repos => 'main',
)}
end

View File

@@ -11,8 +11,8 @@ describe 'openstack_extras::repo::redhat::redhat' do
:tag => 'openstack-extras-repo',
)}
it { should contain_yumrepo('rdo-release').with(
:baseurl => "http://mirror.stream.centos.org/SIGs/$stream/cloud/$basearch/openstack-epoxy/",
:descr => "OpenStack Epoxy Repository",
:baseurl => "http://mirror.stream.centos.org/SIGs/$stream/cloud/$basearch/openstack-flamingo/",
:descr => "OpenStack Flamingo Repository",
:gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud',
:enabled => '1',
:gpgcheck => '1',
@@ -122,7 +122,7 @@ describe 'openstack_extras::repo::redhat::redhat' do
end
it { should contain_yumrepo('rdo-release').with(
:baseurl => "http://foo.bar/SIGs/$stream/cloud/$basearch/openstack-epoxy/",
:baseurl => "http://foo.bar/SIGs/$stream/cloud/$basearch/openstack-flamingo/",
)}
end