Emilien Macchi 427f6dda0a Align the stars to deploy latest OpenStack on June 7th
* Pin Tempest on Ubuntu. Latest Mitaka release on Xenial broke Tempest
  tests.
* Bump RDO to latest repo so we can test Octavia & also unpin Tempest
  (Ceilometer Tempest tests were broken).
* Unpin Tempest for centos7 jobs.

Change-Id: Id550290bf9ebb2c6190072b3e8a4c501f535b2d5
2016-06-07 19:37:09 -04:00

68 lines
2.1 KiB
Puppet

class openstack_integration::repos {
case $::osfamily {
'Debian': {
include ::apt
# Mitaka is already packaged in 16.04, so we don't need UCA.
if ($::operatingsystem == 'Ubuntu') and ! (versioncmp($::operatingsystemmajrelease, '16') >= 0) {
class { '::openstack_extras::repo::debian::ubuntu':
release => 'mitaka',
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':
manage_rdo => false,
manage_epel => false,
repo_hash => {
'newton-current' => {
'baseurl' => 'https://trunk.rdoproject.org/centos7-master/46/92/4692a339455c1921a8867f5fdf1c0d6ad1e36632_4bd3bb8f/',
'descr' => 'Newton current',
'gpgcheck' => 'no',
'priority' => 1,
},
'newton-delorean-deps' => {
'baseurl' => 'http://cbs.centos.org/repos/cloud7-openstack-newton-testing/x86_64/os/',
'descr' => 'Newton delorean-deps',
'gpgcheck' => 'no',
'priority' => 1,
},
'mitaka-delorean-deps' => {
'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-mitaka/',
'descr' => 'Mitaka delorean-deps',
'gpgcheck' => 'no',
'priority' => 2,
},
}
}
}
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,
}
}