Use Ubuntu Cloud Archive on precise nodes
Change-Id: I214e473563d28ade2ac321941261eebf73536abd
This commit is contained in:
parent
3c05b1bad0
commit
bdcc1151c9
@ -69,6 +69,19 @@ class jenkins::slave(
|
||||
$packages = $common_packages
|
||||
}
|
||||
|
||||
if ($::lsbdistcodename == 'precise') {
|
||||
package { 'ubuntu-cloud-keyring':
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
apt::source { 'cloudarchive':
|
||||
location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
|
||||
release => 'precise-updates/havana',
|
||||
repos => ['main'],
|
||||
require => Package['ubuntu-cloud-keyring'],
|
||||
}
|
||||
}
|
||||
|
||||
package { $packages:
|
||||
ensure => present,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user