puppetlabs-puppetdb icon indicating copy to clipboard operation
puppetlabs-puppetdb copied to clipboard

Install fails if postgres_version is not set

Open d1nuc0m opened this issue 1 year ago • 0 comments

Describe the Bug

Automatic setup of PostgreSQL does not work unless an updated version is specified

Expected Behavior

Minimal install works:

class { 'puppetdb':
}

Steps to Reproduce

Steps to reproduce the behavior:

  1. Try a minimal install
class { 'puppetdb':
}

PostgreSQL install fails as packages are not in the repositories

  1. Specify a supported PostgreSQL version (>= 12)
class { 'puppetdb':
  postgres_version  => '13',
}

and install succeeds

Environment

  • Version [7.13.0]
  • Platform [EL 9.x]

Additional Context

The most up-to-date puppetlabs-postgresql supported by this module (8.3.0) defaults to postgres 11, as it was supported at release time. Now it is EOL, so packages have been removed from the repositories and install fails

d1nuc0m avatar Mar 21 '24 07:03 d1nuc0m