From b7ed805b9759c58c25c549e96ce5e856697b9bc0 Mon Sep 17 00:00:00 2001 From: Alexey Bashtanov Date: Tue, 12 Oct 2021 10:38:40 +0100 Subject: [PATCH] use-http-for-apt.postgresql.org-repo --- manifests/repo/apt_postgresql_org.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manifests/repo/apt_postgresql_org.pp b/manifests/repo/apt_postgresql_org.pp index 1bbf62048a..2ff7f24aef 100644 --- a/manifests/repo/apt_postgresql_org.pp +++ b/manifests/repo/apt_postgresql_org.pp @@ -2,11 +2,14 @@ class postgresql::repo::apt_postgresql_org inherits postgresql::repo { include ::apt - # Here we have tried to replicate the instructions on the PostgreSQL site: + # Here we accurately replicated the instructions on the PostgreSQL site: # # http://www.postgresql.org/download/linux/debian/ # - $default_baseurl = 'https://apt.postgresql.org/pub/repos/apt/' + # using http protocol for apt and https for getting the key looks intentional as per + # https://www.postgresql.org/message-id/YTn/LRZEtVi38f5G%40msg.df7cb.de + # + $default_baseurl = 'http://apt.postgresql.org/pub/repos/apt/' $_baseurl = pick($postgresql::repo::baseurl, $default_baseurl)