Merge "Fix CentOS Storage SIG mirror URL"
This commit is contained in:
commit
bebe577e70
@ -127,7 +127,8 @@ not on ${::operatingsystem}, which can lead to packaging issues.")
|
|||||||
if $ceph_mirror {
|
if $ceph_mirror {
|
||||||
$ceph_mirror_real = $ceph_mirror
|
$ceph_mirror_real = $ceph_mirror
|
||||||
} else {
|
} else {
|
||||||
$ceph_mirror_real = "https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-${release}/"
|
# NOTE(tobias-urdin): mirror.centos.org doesnt have https support
|
||||||
|
$ceph_mirror_real = "http://mirror.centos.org/centos/${::operatingsystemmajrelease}/storage/x86_64/ceph-${release}/"
|
||||||
}
|
}
|
||||||
yumrepo { 'ceph-luminous-sig':
|
yumrepo { 'ceph-luminous-sig':
|
||||||
ensure => 'absent',
|
ensure => 'absent',
|
||||||
|
@ -505,7 +505,7 @@ describe 'ceph::repo' do
|
|||||||
it { should contain_yumrepo('ceph-luminous-sig').with_ensure('absent') }
|
it { should contain_yumrepo('ceph-luminous-sig').with_ensure('absent') }
|
||||||
|
|
||||||
it { should contain_yumrepo('ceph-storage-sig').with(
|
it { should contain_yumrepo('ceph-storage-sig').with(
|
||||||
:baseurl => 'https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-nautilus/',
|
:baseurl => 'http://mirror.centos.org/centos/7/storage/x86_64/ceph-nautilus/',
|
||||||
)}
|
)}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user