diff --git a/recipes/debian_backports.rb b/recipes/debian_backports.rb index 87e1c8c..4b5ca46 100644 --- a/recipes/debian_backports.rb +++ b/recipes/debian_backports.rb @@ -4,10 +4,10 @@ # # backports for initial support -backports_uri = if node["lsb"]["codename"] == "wheezy" - "http://cdn.debian.net/debian" +backports_uri = if node["lsb"]["codename"] == "squeeze" + "http://http.debian.net/debian-backports" else - "http://backports.debian.org/debian-backports" + "http://http.debian.net/debian" end apt_repository "debian-backports" do diff --git a/templates/default/postgresql.conf.erb b/templates/default/postgresql.conf.erb index c567aa8..8d0e93e 100644 --- a/templates/default/postgresql.conf.erb +++ b/templates/default/postgresql.conf.erb @@ -209,9 +209,6 @@ commit_delay = <%= node["postgresql"]["commit_delay"] %> # range 0-100000, i # - Checkpoints - -<%- if node["postgresql"]["checkpoint_segments"] %> -checkpoint_segments = <%= node["postgresql"]["checkpoint_segments"] %> # in logfile segments, min 1, 16MB each -<%- end %> <%- if node["postgresql"]["checkpoint_timeout"] %> checkpoint_timeout = <%= node["postgresql"]["checkpoint_timeout"] %> # range 30s-1h <%- end %>