Skip to content

Install fails if postgres_version is not set #396

Closed
@d1nuc0m

Description

@d1nuc0m

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions