Skip to content

Instantly share code, notes, and snippets.

@fivetwentysix
Created July 2, 2014 16: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 fivetwentysix/fe6c747f0835707df944 to your computer and use it in GitHub Desktop.
Save fivetwentysix/fe6c747f0835707df944 to your computer and use it in GitHub Desktop.
apt_repository 'postgresql-9.3' do
uri 'http://ppa.launchpad.net/chris-lea/postgresql-9.3/ubuntu'
distribution 'precise'
components ['main']
keyserver 'keyserver.ubuntu.com'
key 'D878D6C2'
deb_src true
end
execute 'apt-key-update' do
command 'sudo apt-key update'
end
execute 'apt-update' do
command 'sudo apt-get update --fix-missing'
end
package 'zsh' do
action :install
end
package 'postgresql-9.3' do
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment