Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created December 13, 2013 19:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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