repo: switch defaults to Newton

Newton is about to be released, let's bump the default version.

Change-Id: If052e7ce86512d038e84464f2e1992a5ba591de7
This commit is contained in:
Emilien Macchi 2016-09-17 13:25:11 -04:00
parent a0d95cc419
commit 46486f15a1
5 changed files with 13 additions and 13 deletions

View File

@ -4,7 +4,7 @@
# #
class openstack_extras::repo::debian::params class openstack_extras::repo::debian::params
{ {
$release = 'mitaka' $release = 'newton'
$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'

View File

@ -5,7 +5,7 @@
# #
class openstack_extras::repo::redhat::params class openstack_extras::repo::redhat::params
{ {
$release = 'mitaka' $release = 'newton'
$repo_defaults = { 'enabled' => '1', $repo_defaults = { 'enabled' => '1',
'gpgcheck' => '1', 'gpgcheck' => '1',

View File

@ -12,7 +12,7 @@ describe 'openstack_extras::repo::debian::debian' do
let :paramclass_defaults do let :paramclass_defaults do
{ {
:release => 'mitaka' :release => 'newton'
} }
end end
@ -36,13 +36,13 @@ describe 'openstack_extras::repo::debian::debian' do
it { is_expected.to contain_apt__source('debian_wheezy').with( it { is_expected.to contain_apt__source('debian_wheezy').with(
:location => 'http://archive.gplhost.com/debian', :location => 'http://archive.gplhost.com/debian',
:release => 'mitaka', :release => 'newton',
:repos => 'main', :repos => 'main',
)} )}
it { is_expected.to contain_apt__source('debian_wheezy_backports').with( it { is_expected.to contain_apt__source('debian_wheezy_backports').with(
:location => 'http://archive.gplhost.com/debian', :location => 'http://archive.gplhost.com/debian',
:release => 'mitaka-backports', :release => 'newton-backports',
:repos => 'main' :repos => 'main'
)} )}

View File

@ -12,7 +12,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
let :paramclass_defaults do let :paramclass_defaults do
{ {
:release => 'mitaka' :release => 'newton'
} }
end end
@ -37,7 +37,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
it { is_expected.to contain_apt__source('ubuntu-cloud-archive').with( it { is_expected.to 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/mitaka', :release => 'trusty-updates/newton',
:repos => 'main', :repos => 'main',
)} )}
@ -137,7 +137,7 @@ describe 'openstack_extras::repo::debian::ubuntu' do
it { is_expected.to contain_apt__source('ubuntu-cloud-archive').with( it { is_expected.to 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/mitaka', :release => 'trusty-proposed/newton',
:repos => 'main', :repos => 'main',
)} )}
end end

View File

@ -14,7 +14,7 @@ describe 'openstack_extras::repo::redhat::redhat' do
let :paramclass_defaults do let :paramclass_defaults do
{ {
:release => 'mitaka', :release => 'newton',
:repo_defaults => { 'enabled' => '1', :repo_defaults => { 'enabled' => '1',
'gpgcheck' => '1', 'gpgcheck' => '1',
'notify' => "Exec[yum_refresh]", 'notify' => "Exec[yum_refresh]",
@ -50,8 +50,8 @@ describe 'openstack_extras::repo::redhat::redhat' do
end end
it { is_expected.to contain_yumrepo('rdo-release').with( it { is_expected.to contain_yumrepo('rdo-release').with(
:baseurl => "http://mirror.centos.org/centos/7/cloud/$basearch/openstack-mitaka/", :baseurl => "http://mirror.centos.org/centos/7/cloud/$basearch/openstack-newton/",
:descr => "OpenStack Mitaka Repository", :descr => "OpenStack Newton Repository",
:priority => 98, :priority => 98,
: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',
@ -173,8 +173,8 @@ describe 'openstack_extras::repo::redhat::redhat' do
end end
it { is_expected.to contain_yumrepo('rdo-release').with( it { is_expected.to contain_yumrepo('rdo-release').with(
:baseurl => "http://mirror.dfw.rax.openstack.org/centos/7/cloud/\$basearch/openstack-mitaka/", :baseurl => "http://mirror.dfw.rax.openstack.org/centos/7/cloud/\$basearch/openstack-newton/",
:descr => "OpenStack Mitaka Repository", :descr => "OpenStack Newton 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",
:proxy => "http://my.proxy.com:8000" :proxy => "http://my.proxy.com:8000"
)} )}