Merge "Use Ubuntu Cloud Archive on precise nodes"

This commit is contained in:
Jenkins 2013-09-20 20:15:26 +00:00 committed by Gerrit Code Review
commit c28c7c57bb

View File

@ -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,
}