puppetlabs-postgresql
puppetlabs-postgresql copied to clipboard
Puppet module for managing PostgreSQL
## Describe the Bug Today, we always set `data_directory = …` in `postgresql.conf` via https://github.com/puppetlabs/puppetlabs-postgresql/blob/411e7bce3f2d5256c315351144dc525b6c0afbbe/manifests/server/instance/config.pp#L222-L225 However we also set it in the systemd override: https://github.com/puppetlabs/puppetlabs-postgresql/blob/411e7bce3f2d5256c315351144dc525b6c0afbbe/manifests/server/instance/systemd.pp#L29-L34 https://github.com/puppetlabs/puppetlabs-postgresql/blob/411e7bce3f2d5256c315351144dc525b6c0afbbe/templates/systemd-override.conf.epp#L11 And pass it when...
## Describe the Bug When `postgresql::postgres_password` is Deferred, it throws one of two possible errors: Error 1: > `$hash_postgresql_db_pw = Deferred('postgresql::postgresql_password', ['puppetdb', $plain_postgresql_db_pw])` > > `Error: Failed to apply catalog:...
## Describe the Bug The onlyif command of the Exec in Postgresql::Server::Instance::Reload failes with ``` Error: /Stage[main]/Postgresql::Server::Reload/Postgresql::Server::Instance::Reload[main]/Exec[postgresql_reload_main]: Failed to call refresh: invalid byte sequence in US-ASCII Error: /Stage[main]/Postgresql::Server::Reload/Postgresql::Server::Instance::Reload[main]/Exec[postgresql_reload_main]: invalid byte...
## Describe the Bug Tag 8.2.1 uses the old GPG for the repository in files/RPM-GPG-KEY-PGDG that changed in January 2024 ## Expected Behavior The file to be correct, so that...
## Describe the Bug ``` Error: /Stage[main]/Postgresql::Server/Postgresql::Server::Config_entry[shared_buffers]/Postgresql_conf[shared_buffers]: Could not evaluate: uninitialized constant ParserError Did you mean? ParseError Notice: /Stage[main]/Postgresql::Server::Service/Postgresql::Server::Instance::Service[main]/Anchor[postgresql::server::service::begin::main]: Dependency Postgresql_conf[shared_buffers] has failures: true ``` ## Expected Behavior Catalog compilation...
## Describe the Bug Error: Found 1 dependency cycle: (Anchor[postgresql::server::service::begin::main] => Postgresql_psql[Set template1 encoding to UTF8] => Postgresql::Server::Instance::Late_initdb[main] => Postgresql::Server::Instance::Initdb[main] => Class[Postgresql::Server::Initdb] => Postgresql_conf[port_for_instance_main] => Class[Postgresql::Server::Service] => Postgresql::Server::Instance::Service[main] => Anchor[postgresql::server::service::begin::main])...
## Use Case Currently this role supports recovery.conf to configure a server to be a replica. As of postgresql 12+ recovery.conf has been removed and instead requires an empty file...
This makes use of https://github.com/puppetlabs/puppetlabs-apt/pull/1128 to store the public key in `/etc/apt/keyrings` and add a `signed-by` option to the `sources.list.d` entry.
## Summary After running into a duplicate config entry I found that this line uses the wrong class to notify about the parser error ## Additional Context Reproduce: Put a...
I'm not sure how we ended up with ParserError in the provider. This exception doesn't exist in Ruby. Puppet ships ther own exception, Puppet::Error. It probably makes sense to raise...