Permalink
Browse files

bump postgres for 12.04

  • Loading branch information...
1 parent b71faf4 commit 61a4681fbfa1c625f31a2a8eac654a94c1ea5e9a @jsierles committed May 9, 2012
Showing with 12 additions and 12 deletions.
  1. +1 −1 postgresql/attributes/postgresql.rb
  2. +11 −11 postgresql/recipes/server.rb
@@ -1,4 +1,4 @@
-default[:postgresql][:version] = "9.0"
+default[:postgresql][:version] = "9.1"
default[:postgresql][:config_dir] = "/etc/postgresql/#{node[:postgresql][:version]}/main"
default[:postgresql][:data_dir] = "/var/lib/postgresql/#{node[:postgresql][:version]}"
default[:postgresql][:archive_dir] = "#{node[:postgresql][:data_dir]}/wal_archive"
@@ -3,17 +3,17 @@
package "postgresql-#{node[:postgresql][:version]}"
package "postgresql-server-dev-#{node[:postgresql][:version]}"
-%w(postgresql-contrib libpq-dev libxslt1-dev libxml2-dev libpam0g-dev libedit-dev).each {|p| package p }
-
-remote_file "/tmp/postgresql-repmgr-9.0_1.0.0.deb" do
- source "#{node[:package_url]}/postgresql-repmgr-9.0_1.0.0.deb"
- not_if { File.exists?("/tmp/postgresql-repmgr-9.0_1.0.0.deb") }
-end
-
-dpkg_package "postgresql-repmgr" do
- source "/tmp/postgresql-repmgr-9.0_1.0.0.deb"
- only_if { File.exists?("/tmp/postgresql-repmgr-9.0_1.0.0.deb") }
-end
+# %w(postgresql-contrib libpq-dev libxslt1-dev libxml2-dev libpam0g-dev libedit-dev).each {|p| package p }
+#
+# remote_file "/tmp/postgresql-repmgr-9.0_1.0.0.deb" do
+# source "#{node[:package_url]}/postgresql-repmgr-9.0_1.0.0.deb"
+# not_if { File.exists?("/tmp/postgresql-repmgr-9.0_1.0.0.deb") }
+# end
+#
+# dpkg_package "postgresql-repmgr" do
+# source "/tmp/postgresql-repmgr-9.0_1.0.0.deb"
+# only_if { File.exists?("/tmp/postgresql-repmgr-9.0_1.0.0.deb") }
+# end
directory "/etc/postgresql" do
mode 0755

0 comments on commit 61a4681

Please sign in to comment.