Scott's Weblog The weblog of an IT pro specializing in virtualization, networking, open source, and cloud computing

Updating Ubuntu Cloud Archive Support with Puppet

Some time ago, I showed you how to use Puppet to add Ubuntu Cloud Archive support to your Ubuntu installation. Since that time, OpenStack has had a new release (the Havana release) and the Ubuntu Cloud Archive repository has been updated with new packages to support the Havana release. In this post, I’ll show you an updated snippet of code to take advantage of these newer packages in the Ubuntu Cloud Archive repository.

For reference, here’s the original Puppet code I posted in the first article. This code points your Ubuntu installation to the Grizzly packages.

Here’s updated code that will point your installation to the appropriate packages to support OpenStack’s Havana release:

apt::source { 'ubuntu-cloud':
  location          =>  '',
  repos             =>  'main',
  release           =>  'precise-updates/havana',
  include_src       =>  false,
  required_packages =>  'ubuntu-cloud-keyring',

(Click here for this code snippet as a GitHub Gist.)

As you can see, there is only one small change between the two code snippets: changing “precise-updates/grizzly” in the first to “precise-updates/havana” in the second. (Naturally, this assumes you’re using Ubuntu 12.04, the latest LTS release as of this writing.) I know this seems like a pretty simple thing to post, but I wanted to include it here for the sake of completeness and the benefit of future readers.

Feel free to speak up in the comments with any questions, suggestions, or corrections.

Be social and share this post!