Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created December 13, 2013 19:10
Show Gist options
  • Save scottslowe/7949509 to your computer and use it in GitHub Desktop.
Save scottslowe/7949509 to your computer and use it in GitHub Desktop.
This snippet of Puppet code configures an Ubuntu system to use the Havana packages from the Ubuntu Cloud Archive as an apt repository.
apt::source { 'ubuntu-cloud':
location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
repos => 'main',
release => 'precise-updates/havana',
include_src => false,
required_packages => 'ubuntu-cloud-keyring',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment