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,19 +3,10 @@ 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,
|
||||
}
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user