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.
Files changed (2) hide show
  1. data/lib/magic_recipes/postgresql.rb +3 -3
  2. 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} add-apt-repository ppa:pitti/postgresql"
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 libpq-dev"
54
+ run "#{sudo} apt-get -y install postgresql"
55
55
  # add constrib for hstore extension
56
- run "#{sudo} apt-get -y install postgresql-contrib-9.1"
56
+ run "#{sudo} apt-get -y install postgresql-contrib"
57
57
  end
58
58
  after "deploy:install", "postgresql:install"
59
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: