Use stable/xena release by default
... instead of old stable/victoria. Change-Id: I29d6a3043260a3258266b87ca50bcc90befb42ee
This commit is contained in:
parent
04ced48a76
commit
0271adfc05
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
class openstack_extras::repo::debian::params
|
class openstack_extras::repo::debian::params
|
||||||
{
|
{
|
||||||
$release = 'victoria'
|
$release = 'xena'
|
||||||
|
|
||||||
$uca_name = 'ubuntu-cloud-archive'
|
$uca_name = 'ubuntu-cloud-archive'
|
||||||
$uca_location = 'http://ubuntu-cloud.archive.canonical.com/ubuntu'
|
$uca_location = 'http://ubuntu-cloud.archive.canonical.com/ubuntu'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# OS family repo classes.
|
# OS family repo classes.
|
||||||
#
|
#
|
||||||
class openstack_extras::repo::redhat::params {
|
class openstack_extras::repo::redhat::params {
|
||||||
$release = 'victoria'
|
$release = 'xena'
|
||||||
|
|
||||||
$repo_defaults = {
|
$repo_defaults = {
|
||||||
'enabled' => '1',
|
'enabled' => '1',
|
||||||
|
@ -14,7 +14,7 @@ describe 'openstack_extras::repo::debian::debian' do
|
|||||||
|
|
||||||
let :paramclass_defaults do
|
let :paramclass_defaults do
|
||||||
{
|
{
|
||||||
:release => 'victoria'
|
:release => 'xena'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -23,11 +23,11 @@ describe 'openstack_extras::repo::debian::debian' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
context 'with default params' do
|
context 'with default params' do
|
||||||
it { should contain_exec('/usr/bin/extrepo enable openstack_victoria').with(
|
it { should contain_exec('/usr/bin/extrepo enable openstack_xena').with(
|
||||||
:command => "/bin/true # comment to satisfy puppet syntax requirements
|
:command => "/bin/true # comment to satisfy puppet syntax requirements
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y extrepo
|
apt-get install -y extrepo
|
||||||
extrepo enable openstack_victoria
|
extrepo enable openstack_xena
|
||||||
apt-get update
|
apt-get update
|
||||||
",
|
",
|
||||||
)}
|
)}
|
||||||
@ -58,14 +58,14 @@ apt-get update
|
|||||||
end
|
end
|
||||||
|
|
||||||
it { should contain_apt__source('debian-openstack-backports').with(
|
it { should contain_apt__source('debian-openstack-backports').with(
|
||||||
:location => 'http://stretch-victoria.debian.net/debian',
|
:location => 'http://stretch-xena.debian.net/debian',
|
||||||
:release => 'stretch-victoria-backports',
|
:release => 'stretch-xena-backports',
|
||||||
:repos => 'main',
|
:repos => 'main',
|
||||||
)}
|
)}
|
||||||
|
|
||||||
it { should contain_apt__source('debian-openstack-backports-nochange').with(
|
it { should contain_apt__source('debian-openstack-backports-nochange').with(
|
||||||
:location => 'http://stretch-victoria.debian.net/debian',
|
:location => 'http://stretch-xena.debian.net/debian',
|
||||||
:release => 'stretch-victoria-backports-nochange',
|
:release => 'stretch-xena-backports-nochange',
|
||||||
:repos => 'main'
|
:repos => 'main'
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
|
|||||||
|
|
||||||
let :paramclass_defaults do
|
let :paramclass_defaults do
|
||||||
{
|
{
|
||||||
:release => 'victoria'
|
:release => 'xena'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
|
|||||||
|
|
||||||
it { should contain_apt__source('ubuntu-cloud-archive').with(
|
it { should contain_apt__source('ubuntu-cloud-archive').with(
|
||||||
:location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
|
:location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
|
||||||
:release => 'trusty-updates/victoria',
|
:release => 'trusty-updates/xena',
|
||||||
:repos => 'main',
|
:repos => 'main',
|
||||||
)}
|
)}
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
|
|||||||
|
|
||||||
it { should contain_apt__source('ubuntu-cloud-archive').with(
|
it { should contain_apt__source('ubuntu-cloud-archive').with(
|
||||||
:location => 'http://mirror.dfw.rax.openstack.org/ubuntu-cloud-archive',
|
:location => 'http://mirror.dfw.rax.openstack.org/ubuntu-cloud-archive',
|
||||||
:release => 'trusty-proposed/victoria',
|
:release => 'trusty-proposed/xena',
|
||||||
:repos => 'main',
|
:repos => 'main',
|
||||||
)}
|
)}
|
||||||
end
|
end
|
||||||
|
@ -14,8 +14,8 @@ describe 'openstack_extras::repo::redhat::redhat' do
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
it { should contain_yumrepo('rdo-release').with(
|
it { should contain_yumrepo('rdo-release').with(
|
||||||
:baseurl => "http://mirror.centos.org/centos/#{facts[:operatingsystemmajrelease]}-stream/cloud/$basearch/openstack-victoria/",
|
:baseurl => "http://mirror.centos.org/centos/#{facts[:operatingsystemmajrelease]}-stream/cloud/$basearch/openstack-xena/",
|
||||||
:descr => "OpenStack Victoria Repository",
|
:descr => "OpenStack Xena Repository",
|
||||||
:gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud',
|
:gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud',
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
@ -135,7 +135,7 @@ describe 'openstack_extras::repo::redhat::redhat' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it { should contain_yumrepo('rdo-release').with(
|
it { should contain_yumrepo('rdo-release').with(
|
||||||
:baseurl => "http://mirror.centos.org/centos/#{facts[:operatingsystemmajrelease]}/cloud/\$basearch/openstack-victoria/",
|
:baseurl => "http://mirror.centos.org/centos/#{facts[:operatingsystemmajrelease]}/cloud/\$basearch/openstack-xena/",
|
||||||
)}
|
)}
|
||||||
|
|
||||||
it { should contain_yumrepo('centos-advanced-virt').with(
|
it { should contain_yumrepo('centos-advanced-virt').with(
|
||||||
@ -265,7 +265,7 @@ describe 'openstack_extras::repo::redhat::redhat' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it { should contain_yumrepo('rdo-release').with(
|
it { should contain_yumrepo('rdo-release').with(
|
||||||
:baseurl => "http://foo.bar/centos/#{facts[:operatingsystemmajrelease]}-stream/cloud/\$basearch/openstack-victoria/",
|
:baseurl => "http://foo.bar/centos/#{facts[:operatingsystemmajrelease]}-stream/cloud/\$basearch/openstack-xena/",
|
||||||
)}
|
)}
|
||||||
|
|
||||||
it { should contain_yumrepo('centos-advanced-virt').with(
|
it { should contain_yumrepo('centos-advanced-virt').with(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user