Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

raring support

  • Loading branch information...
commit 18162d07bcbdec9dd1c261ea27f520769befed35 1 parent 665b3d0
@nitsujw authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 recipes/apt_pgdg_postgresql.rb
View
7 recipes/apt_pgdg_postgresql.rb
@@ -1,4 +1,4 @@
-if not %w(etch lenny lucid precise sid squeeze wheezy).include? node['postgresql']['pgdg']['release_apt_codename']
+if not %w(etch lenny lucid precise sid squeeze wheezy raring).include? node['postgresql']['pgdg']['release_apt_codename']
raise "Not supported release by PGDG apt repository"
end
@@ -9,9 +9,12 @@
path "/etc/apt/sources.list.d/pitti-postgresql-ppa"
end
+dist = node['postgresql']['pgdg']['release_apt_codename']
+dist = 'wheezy' if dist == 'raring'
+
apt_repository 'apt.postgresql.org' do
uri 'http://apt.postgresql.org/pub/repos/apt'
- distribution "#{node['postgresql']['pgdg']['release_apt_codename']}-pgdg"
+ distribution "#{dist}-pgdg"
components %w(main)
key 'http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc'
action :add
Please sign in to comment.
Something went wrong with that request. Please try again.