Emilien Macchi 6fa266027d repos: bump rdo to mitaka/current-passed-ci
Until Mitaka is out in RDO, let's bump our CI to current-passed-ci repo,
that is the latest Mitaka packaging, validated by RDO CI.
This patch will be backported to stable/mitaka.
This patch will be modified once Mitaka is out to use official repos in
CentOS and backported.

Change-Id: I0baad8c0329aa8c7762993e7ee640b19eba25798
2016-03-29 18:16:33 -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-mitaka/current-passed-ci/',
'descr' => 'Mitaka current-passed-ci',
'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': }
}