Pin Ubuntu repositories to stable Newton packaging
Pin Ubuntu repositories to stable Newton packaging. Change-Id: Id61a070d5143c8337c307640824efc1be3b3fa04
This commit is contained in:
parent
73e18a4fa8
commit
a8a04c3d6c
@ -3,20 +3,11 @@ class openstack_integration::repos {
|
|||||||
case $::osfamily {
|
case $::osfamily {
|
||||||
'Debian': {
|
'Debian': {
|
||||||
include ::apt
|
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':
|
class { '::openstack_extras::repo::debian::ubuntu':
|
||||||
release => 'newton',
|
release => 'newton',
|
||||||
repo => 'updates',
|
|
||||||
package_require => true,
|
package_require => true,
|
||||||
uca_location => $::uca_mirror_host,
|
uca_location => $::uca_mirror_host,
|
||||||
}
|
}
|
||||||
}
|
|
||||||
# Ceph is both packaged on UCA & ceph.com
|
# Ceph is both packaged on UCA & ceph.com
|
||||||
# Official packages are on ceph.com so we want to make sure
|
# Official packages are on ceph.com so we want to make sure
|
||||||
# Ceph will be installed from there.
|
# Ceph will be installed from there.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user