Skip to content

Instantly share code, notes, and snippets.

@nicgrayson
Created November 14, 2013 21:50
Show Gist options
  • Save nicgrayson/7474946 to your computer and use it in GitHub Desktop.
Save nicgrayson/7474946 to your computer and use it in GitHub Desktop.
include_recipe "apt"
execute "perl -pi.orig -e 's/^(deb .* universe)$/$1 multiverse/' /etc/apt/sources.list"
apt_repository 'awstools' do
uri 'http://ppa.launchpad.net/awstools-dev/awstools/ubuntu'
distribution node['lsb']['codename']
components ['main']
keyserver 'keyserver.ubuntu.com'
key '40BBB133'
end
package "ec2-api-tools"
package "ec2-ami-tools"
apt_repository 'awstools' do
action :remove
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment