Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions manifests/repo/apt_postgresql_org.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down