Beaker: install APT repo with openstack_extras
Use openstack_extras module to manage Ubuntu Cloud Archive repository. Change-Id: I43c3cadcbe4d2791cd58095ae16341119b272099
This commit is contained in:
committed by
Sebastien Badia
parent
49fd248002
commit
7483eaf336
@@ -9,20 +9,10 @@ describe 'basic swift' do
|
||||
Exec { logoutput => 'on_failure' }
|
||||
|
||||
include ::apt
|
||||
# some packages are not autoupgraded in trusty.
|
||||
# it will be fixed in liberty, but broken in kilo.
|
||||
$need_to_be_upgraded = ['python-tz', 'python-pbr']
|
||||
apt::source { 'trusty-updates-kilo':
|
||||
location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu/',
|
||||
release => 'trusty-updates',
|
||||
required_packages => 'ubuntu-cloud-keyring',
|
||||
repos => 'kilo/main',
|
||||
trusted_source => true,
|
||||
} ~>
|
||||
exec { '/usr/bin/apt-get -y dist-upgrade':
|
||||
refreshonly => true,
|
||||
class { '::openstack_extras::repo::debian::ubuntu':
|
||||
release => 'kilo',
|
||||
package_require => true,
|
||||
}
|
||||
Apt::Source['trusty-updates-kilo'] -> Package<| |>
|
||||
|
||||
class { '::mysql::server': }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user