lib/magic_recipes/postgresql.rb in magic_recipes-0.1.7 vs lib/magic_recipes/postgresql.rb in magic_recipes-0.1.8
- old
+ new
@@ -49,10 +49,10 @@
namespace :postgresql do
desc "Install the latest stable release of PostgreSQL."
task :install, roles: :db, only: {primary: true} do
run "#{sudo} wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -"
run "#{sudo} apt-get -y update"
- run "#{sudo} apt-get -y install postgresql"
+ run "#{sudo} apt-get -y install postgresql libpq-dev"
# add constrib for hstore extension
run "#{sudo} apt-get -y install postgresql-contrib"
end
after "deploy:install", "postgresql:install"
\ No newline at end of file