Merge "repos: use pick to fallback on real mirror (beaker jobs)"
This commit is contained in:
commit
8c2ea5b414
@ -6,7 +6,7 @@ class openstack_integration::repos {
|
|||||||
class { '::openstack_extras::repo::debian::ubuntu':
|
class { '::openstack_extras::repo::debian::ubuntu':
|
||||||
release => 'pike',
|
release => 'pike',
|
||||||
package_require => true,
|
package_require => true,
|
||||||
uca_location => $::uca_mirror_host,
|
uca_location => pick($::uca_mirror_host, 'http://ubuntu-cloud.archive.canonical.com/ubuntu'),
|
||||||
}
|
}
|
||||||
# Ceph is both packaged on UCA & ceph.com
|
# Ceph is both packaged on UCA & ceph.com
|
||||||
# Official packages are on ceph.com so we want to make sure
|
# Official packages are on ceph.com so we want to make sure
|
||||||
@ -23,7 +23,7 @@ class openstack_integration::repos {
|
|||||||
centos_mirror_url => $::centos_mirror_host,
|
centos_mirror_url => $::centos_mirror_host,
|
||||||
repo_hash => {
|
repo_hash => {
|
||||||
'pike-puppet-passed-ci' => {
|
'pike-puppet-passed-ci' => {
|
||||||
'baseurl' => $::rdo_mirror_host,
|
'baseurl' => pick($::rdo_mirror_host, 'https://trunk.rdoproject.org/centos7-master/puppet-passed-ci/'),
|
||||||
'descr' => 'Pike puppet-passed-ci',
|
'descr' => 'Pike puppet-passed-ci',
|
||||||
'gpgcheck' => 'no',
|
'gpgcheck' => 'no',
|
||||||
'priority' => 1,
|
'priority' => 1,
|
||||||
@ -54,7 +54,7 @@ class openstack_integration::repos {
|
|||||||
class { '::ceph::repo':
|
class { '::ceph::repo':
|
||||||
enable_sig => $enable_sig,
|
enable_sig => $enable_sig,
|
||||||
enable_epel => $enable_epel,
|
enable_epel => $enable_epel,
|
||||||
ceph_mirror => $::ceph_mirror_host,
|
ceph_mirror => pick($::ceph_mirror_host, 'http://mirror.centos.org/centos/7/storage/x86_64/ceph-jewel/'),
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user