magic_recipes 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/magic_recipes/postgresql.rb +3 -3
- metadata +1 -1
@@ -49,11 +49,11 @@ module MagicRecipes
|
|
49
49
|
namespace :postgresql do
|
50
50
|
desc "Install the latest stable release of PostgreSQL."
|
51
51
|
task :install, roles: :db, only: {primary: true} do
|
52
|
-
run "#{sudo}
|
52
|
+
run "#{sudo} wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -"
|
53
53
|
run "#{sudo} apt-get -y update"
|
54
|
-
run "#{sudo} apt-get -y install postgresql
|
54
|
+
run "#{sudo} apt-get -y install postgresql"
|
55
55
|
# add constrib for hstore extension
|
56
|
-
run "#{sudo} apt-get -y install postgresql-contrib
|
56
|
+
run "#{sudo} apt-get -y install postgresql-contrib"
|
57
57
|
end
|
58
58
|
after "deploy:install", "postgresql:install"
|
59
59
|
|