0ccc645ee2
The right repos dependencies is: - delorean repo should have highest priority (1) - deps repo should have same priority as base and the rest This should fix issue with dependencies when installing qemu-kvm-ev 2.6 Change-Id: Ib7010afe87d5d9eff5d57b06b364e41ad24d3588
63 lines
1.8 KiB
Puppet
63 lines
1.8 KiB
Puppet
class openstack_integration::repos {
|
|
|
|
case $::osfamily {
|
|
'Debian': {
|
|
include ::apt
|
|
class { '::openstack_extras::repo::debian::ubuntu':
|
|
release => 'ocata',
|
|
repo => 'proposed',
|
|
package_require => true,
|
|
# use the mirror again when this patch is merged:
|
|
# https://review.openstack.org/404759
|
|
# uca_location => $::uca_mirror_host,
|
|
}
|
|
# Ceph is both packaged on UCA & ceph.com
|
|
# Official packages are on ceph.com so we want to make sure
|
|
# Ceph will be installed from there.
|
|
apt::pin { 'ceph':
|
|
priority => 1001,
|
|
origin => 'download.ceph.com',
|
|
}
|
|
}
|
|
'RedHat': {
|
|
class { '::openstack_extras::repo::redhat::redhat':
|
|
manage_rdo => false,
|
|
manage_epel => false,
|
|
repo_hash => {
|
|
'ocata-puppet-passed-ci' => {
|
|
'baseurl' => 'https://trunk.rdoproject.org/centos7-master/puppet-passed-ci/',
|
|
'descr' => 'Ocata puppet-passed-ci',
|
|
'gpgcheck' => 'no',
|
|
'priority' => 1,
|
|
},
|
|
'ocata-delorean-deps' => {
|
|
'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-ocata',
|
|
'descr' => 'Ocata delorean-deps',
|
|
'gpgcheck' => 'no',
|
|
},
|
|
},
|
|
}
|
|
}
|
|
default: {
|
|
fail("Unsupported osfamily (${::osfamily})")
|
|
}
|
|
}
|
|
|
|
# On CentOS, deploy Ceph using SIG repository and get rid of EPEL.
|
|
# https://wiki.centos.org/SpecialInterestGroup/Storage/
|
|
if $::operatingsystem == 'CentOS' {
|
|
$enable_sig = true
|
|
$enable_epel = false
|
|
} else {
|
|
$enable_sig = false
|
|
$enable_epel = true
|
|
}
|
|
|
|
class { '::ceph::repo':
|
|
enable_sig => $enable_sig,
|
|
enable_epel => $enable_epel,
|
|
ceph_mirror => $::ceph_mirror_host,
|
|
}
|
|
|
|
}
|