Emilien Macchi d3f4341f64 repos/centos: disable EPEL
EPEL is quite often down and causes CI failures.
This patch disables EPEL management on our integration & beaker jobs.

Change-Id: I7ecf1b43d8db94001fbb3a0e6841c3cb84836ccb
2016-03-14 11:59:32 -04:00

49 lines
1.5 KiB
Puppet

class openstack_integration::repos {
case $::osfamily {
'Debian': {
include ::apt
class { '::openstack_extras::repo::debian::ubuntu':
repo => 'proposed',
release => 'mitaka', # drop this line when mitaka is stable released
package_require => true,
}
# 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':
# yum-plugin-priorities is already managed by ::ceph::repo
manage_priorities => false,
manage_rdo => false,
manage_epel => false,
repo_hash => {
'mitaka-current' => {
'baseurl' => 'https://trunk.rdoproject.org/centos7/f1/32/f132dea0b534b75815439431dc2d9a927ade2030_c08cc25a/',
'descr' => 'Mitaka Current',
'gpgcheck' => 'no',
'priority' => 1,
},
'delorean-deps' => {
'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/',
'descr' => 'Liberty delorean-deps',
'gpgcheck' => 'no',
'priority' => 2,
},
}
}
}
default: {
fail("Unsupported osfamily (${::osfamily})")
}
}
class { '::ceph::repo': }
}