Merge "Use Ubuntu Cloud Archive on precise nodes"
This commit is contained in:
commit
c28c7c57bb
@ -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