magic_recipes 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|