diff --git a/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/0002-fix-bullseye-version-detection.patch b/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/0002-fix-bullseye-version-detection.patch new file mode 100644 index 000000000..964a54e42 --- /dev/null +++ b/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/0002-fix-bullseye-version-detection.patch @@ -0,0 +1,25 @@ +From 9700ac64bd0fb9a41693348882e0ccf3f4085953 Mon Sep 17 00:00:00 2001 +From: Charles Short +Date: Thu, 27 Jan 2022 19:53:54 +0000 +Subject: [PATCH] fix bullseye version detection + +Signed-off-by: Charles Short +--- + manifests/globals.pp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/manifests/globals.pp b/manifests/globals.pp +index 9914a23..ebb7432 100644 +--- a/manifests/globals.pp ++++ b/manifests/globals.pp +@@ -182,6 +182,7 @@ class postgresql::globals ( + /^(jessie|8\.)/ => '9.4', + /^(stretch|9\.)/ => '9.6', + /^(buster|10\.)/ => '11', ++ /^(bullseye|11\.)/ => '13.5', + default => undef, + }, + 'Ubuntu' => $::operatingsystemrelease ? { +-- +2.32.0 + diff --git a/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/series b/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/series index 563d1ae6a..caefb76d2 100644 --- a/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/series +++ b/config/puppet-modules/puppetlabs-postgresql-6.7.0/debian/patches/series @@ -1 +1,2 @@ 0001-Adapt-first-set-of-legacy-patches.patch +0002-fix-bullseye-version-detection.patch