[Pkg-puppet-devel] Bug#778935: unblock: puppet-module-puppetlabs-postgresql/4.0.0-2
Stig Sandbeck Mathisen
ssm at fnord.no
Sat Feb 21 21:56:24 UTC 2015
Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock
Please unblock package puppet-module-puppetlabs-postgresql
The version of puppet-module-puppetlabs-postgresql attempts to install
postgresql 9.3 on a jessie system, while jessie has 9.4. Upstream has
corrected this in a later release, from which the fix has been cherry
picked.
debdiff puppet-module-puppetlabs-postgresql_4.0.0-1.dsc puppet-module-puppetlabs-postgresql_4.0.0-2.dsc
diff -Nru puppet-module-puppetlabs-postgresql-4.0.0/debian/changelog puppet-module-puppetlabs-postgresql-4.0.0/debian/changelog
--- puppet-module-puppetlabs-postgresql-4.0.0/debian/changelog 2014-10-24 22:46:52.000000000 +0200
+++ puppet-module-puppetlabs-postgresql-4.0.0/debian/changelog 2015-02-21 21:48:18.000000000 +0100
@@ -1,3 +1,10 @@
+puppet-module-puppetlabs-postgresql (4.0.0-2) unstable; urgency=medium
+
+ * [221918d] Import upstream commit 9bb1c5e to select correct postgresql
+ version on jessie. Thanks to Andrew Starr-Bochicchio (Closes: #777607)
+
+ -- Stig Sandbeck Mathisen <ssm at debian.org> Sat, 21 Feb 2015 21:47:40 +0100
+
puppet-module-puppetlabs-postgresql (4.0.0-1) unstable; urgency=medium
* Imported upstream relase 4.0.0
diff -Nru puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch
--- puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch 1970-01-01 01:00:00.000000000 +0100
+++ puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch 2015-02-21 21:48:18.000000000 +0100
@@ -0,0 +1,30 @@
+From: Armin ranjbar <zoup at zoup.org>
+Date: Fri, 21 Nov 2014 22:26:18 +0330
+Subject: Fixing autodetected version for Debian Jessie,
+ which uses postgresql 9.4
+
+---
+ manifests/globals.pp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/manifests/globals.pp b/manifests/globals.pp
+index 1bbf7d5..823ad81 100644
+--- a/manifests/globals.pp
++++ b/manifests/globals.pp
+@@ -67,7 +67,7 @@ class postgresql::globals (
+ 'Debian' => $::operatingsystemrelease ? {
+ /^6\./ => '8.4',
+ /^(wheezy|7\.)/ => '9.1',
+- /^(jessie|8\.)/ => '9.3',
++ /^(jessie|8\.)/ => '9.4',
+ default => undef,
+ },
+ 'Ubuntu' => $::operatingsystemrelease ? {
+@@ -102,6 +102,7 @@ class postgresql::globals (
+ '91' => '1.5',
+ '9.2' => '2.0',
+ '9.3' => '2.1',
++ '9.4' => '2.1',
+ default => undef,
+ }
+ $globals_postgis_version = pick($postgis_version, $default_postgis_version)
diff -Nru puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/series puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/series
--- puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ puppet-module-puppetlabs-postgresql-4.0.0/debian/patches/series 2015-02-21 21:48:18.000000000 +0100
@@ -0,0 +1 @@
+0001-Fixing-autodetected-version-for-Debian-Jessie-which-.patch
unblock puppet-module-puppetlabs-postgresql/4.0.0-2
-- System Information:
Debian Release: 8.0
APT prefers experimental
APT policy: (99, 'experimental'), (99, 'unstable'), (99, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-puppet-devel
mailing list