puppet-module-puppetlabs-postgresql outdated and incompatible with 16.04

Bug #1581816 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-module-puppetlabs-postgresql (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

puppet-module-puppetlabs-postgresql does not properly run under 16.04 and is unable to install postgres.

Reason:

See

/usr/share/puppet/modules.available/puppetlabs-postgresql/manifests/globals.pp

There's a section named telling puppet which postgres version to install for each ubuntu release:

      'Ubuntu' => $::operatingsystemrelease ? {
        /^(15.04)$/ => '9.4',
        /^(14.10)$/ => '9.4',
        /^(14.04)$/ => '9.3',
        /^(11.10|12.04|12.10|13.04|13.10)$/ => '9.1',
        /^(10.04|10.10|11.04)$/ => '8.4',
        default => undef,
      },

which obviously does not not any release after 15.04.

This can be fixed with a workaround by including
  class {

    'postgresql::globals':
      version => '9.5';
  }

but dirty workarounds shouldn't be required.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: puppet-module-puppetlabs-postgresql 4.6.1-1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat May 14 15:46:53 2016
InstallationDate: Installed on 2015-10-08 (218 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150924)
PackageArchitecture: all
SourcePackage: puppet-module-puppetlabs-postgresql
UpgradeStatus: Upgraded to xenial on 2016-05-06 (7 days ago)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Sebastien Badia (sbadia) wrote :

Hi Hadmut, thanks for this bug report!

This bug should be fixed, I just uploaded the 5.3.0 version in Debian unstable https://incoming.debian.org/debian-buildd/pool/main/p/puppet-module-puppetlabs-postgresql/puppet-module-puppetlabs-postgresql_5.3.0-1.dsc

Changed in puppet-module-puppetlabs-postgresql (Ubuntu):
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.