Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates to postgres

  • Loading branch information...
commit eeb421923d70bb25866995095ff87620255712cc 1 parent 67ff3cd
@revans authored
View
4 postgresql/attributes/default.rb
@@ -19,7 +19,6 @@
case platform
when "debian"
- # default[:postgresql][:version] = "8.3"
if platform_version.to_f == 5.0
default[:postgresql][:version] = "8.3"
elsif platform_version =~ /.*sid/
@@ -29,7 +28,6 @@
set[:postgresql][:dir] = "/etc/postgresql/#{node[:postgresql][:version]}/main"
when "ubuntu"
- # default[:postgresql][:version] = "8.3"
if platform_version.to_f <= 10.10
default[:postgresql][:version] = "8.3"
else
@@ -46,7 +44,6 @@
default[:postgresql][:version] = "8.4"
end
- # default[:postgresql][:version] = "8.3"
set[:postgresql][:dir] = "/var/lib/pgsql/data"
when "redhat","centos"
@@ -65,7 +62,6 @@
set[:postgresql][:dir] = "/var/lib/pgsql/data"
else
- # default[:postgresql][:version] = "8.4"
default[:postgresql][:version] = "8.3"
set[:postgresql][:dir] = "/etc/postgresql/#{node[:postgresql][:version]}/main"
end
View
2  postgresql/recipes/server_debian.rb
@@ -26,7 +26,7 @@
node.default[:postgresql][:ssl] = "true"
end
-package "postgresql-8.3"
+package "postgresql-#{node[:postgresql][:version]}"
service "postgresql" do
service_name "postgresql-#{node.postgresql.version}"
Please sign in to comment.
Something went wrong with that request. Please try again.