Emilien Macchi 5faf60ac39 Promote gate to master
A fix was merged in Tempest so we need to update run_tests.sh to stop
pinning Tempest. Because of that we need to promote the repo otherwise
the downstream CI job will never update the packages.

After this patch got merged, we'll come back on the static URL.

- Unpin Tempest on CentOS
- Pin Tempest on Ubuntu (Ocata not packaged yet)

Change-Id: I2330faf700230fe40119169347ad72f8332d0821
2016-10-26 10:00:58 +02:00

61 lines
1.7 KiB
Puppet

class openstack_integration::repos {
case $::osfamily {
'Debian': {
include ::apt
class { '::openstack_extras::repo::debian::ubuntu':
release => 'newton',
package_require => true,
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-master' => {
'baseurl' => 'https://trunk.rdoproject.org/centos7-master/70/8b/708bda51523ac74af7c7d84604af2e0d4444dddb_accb21d7/',
'descr' => 'Ocata master',
'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',
'priority' => 1,
},
}
}
}
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,
}
}