From 888644126e2cbd94c34b424da7958f3f7a4f211b Mon Sep 17 00:00:00 2001 From: Ermolaev Andrey Date: Tue, 11 Aug 2015 05:40:06 +0300 Subject: [PATCH 1/3] support debian 6+ http://backports.debian.org/Instructions/ --- recipes/debian_backports.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/debian_backports.rb b/recipes/debian_backports.rb index 87e1c8c..7aa0d5f 100644 --- a/recipes/debian_backports.rb +++ b/recipes/debian_backports.rb @@ -4,12 +4,12 @@ # # 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 uri backports_uri distribution "#{node["lsb"]["codename"]}-backports" From 6a1b706c616ae0ad7698e218a0c9a6f1004abf1e Mon Sep 17 00:00:00 2001 From: Ermolaev Andrey Date: Tue, 11 Aug 2015 05:57:22 +0300 Subject: [PATCH 2/3] Update debian_backports.rb --- recipes/debian_backports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/debian_backports.rb b/recipes/debian_backports.rb index 7aa0d5f..4b5ca46 100644 --- a/recipes/debian_backports.rb +++ b/recipes/debian_backports.rb @@ -9,7 +9,7 @@ else "http://http.debian.net/debian" end - + apt_repository "debian-backports" do uri backports_uri distribution "#{node["lsb"]["codename"]}-backports" From 0bf57bd9d17ea037e55b7e9cd4e545f274cc8afa Mon Sep 17 00:00:00 2001 From: Ermolaev Andrey Date: Wed, 20 Jan 2016 15:24:51 +0300 Subject: [PATCH 3/3] Update postgresql.conf.erb remove checkpoint_segments --- templates/default/postgresql.conf.erb | 3 --- 1 file changed, 3 deletions(-) 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 %>