Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created October 4, 2013 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottslowe/6827241 to your computer and use it in GitHub Desktop.
Save scottslowe/6827241 to your computer and use it in GitHub Desktop.
This snippet of Puppet code, designed for use with the Puppet Labs apt module, configures an Ubuntu system to use the Ubuntu Cloud Archive.
apt::source { 'ubuntu-cloud':
location => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
repos => 'main',
release => 'precise-updates/grizzly',
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