Use Debian's repo when using Debian
manifests/repos.pp was using UCA also when setting-up under Debian. Change-Id: If83a0c4999e6eb54d61d2b4a8fbcac793b6b7ebb
This commit is contained in:
parent
26e37b055b
commit
e398bfdfbf
@ -2,11 +2,25 @@ class openstack_integration::repos {
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
include ::apt
|
||||
class { '::openstack_extras::repo::debian::ubuntu':
|
||||
release => 'queens',
|
||||
package_require => true,
|
||||
uca_location => pick($::uca_mirror_host, 'http://ubuntu-cloud.archive.canonical.com/ubuntu'),
|
||||
case $::operatingsystem {
|
||||
'ubuntu': {
|
||||
include ::apt
|
||||
class { '::openstack_extras::repo::debian::ubuntu':
|
||||
release => 'queens',
|
||||
package_require => true,
|
||||
uca_location => pick($::uca_mirror_host, 'http://ubuntu-cloud.archive.canonical.com/ubuntu'),
|
||||
}
|
||||
}
|
||||
'debian': {
|
||||
include ::apt
|
||||
class { '::openstack_extras::repo::debian::debian':
|
||||
release => 'queens',
|
||||
package_require => true,
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported operatingsystem (${::operatingsystem})")
|
||||
}
|
||||
}
|
||||
# Ceph is both packaged on UCA & ceph.com
|
||||
# Official packages are on ceph.com so we want to make sure
|
||||
|
Loading…
Reference in New Issue
Block a user