Emilien Macchi f0203d99a2 Align the stars to promote Ci to latest Newton
1) Promote RDO to latest trunk
2) Configure puppet-keystone to manage credentials, as it's now required
   by keystone upstream.
3) Run Zaqar tests against API v2 (1.0 is deprecated and 1.1 will be
   deprecated soon).

Depends-On: I364f65c7009e400f2851e37999e1d8c0b6f5fd5a
Change-Id: I967038c872628a5a290e2890641c9c8dac45588d
2016-09-05 15:27:45 -04:00

70 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,
}
} else {
class { '::openstack_extras::repo::debian::ubuntu':
release => 'newton',
repo => 'updates',
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 => {
'newton-current' => {
'baseurl' => 'https://trunk.rdoproject.org/centos7-master/a1/31/a131f4efa0ab549bfd8d11e13e86d7fa09df3dce_5f3ecf31/',
'descr' => 'Newton current',
'gpgcheck' => 'no',
'priority' => 1,
},
'newton-delorean-deps' => {
'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-newton',
'descr' => 'Newton 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,
}
}