puppetlabs / puppetlabs-postgresql

Puppet module for managing PostgreSQL
Apache License 2.0
228 stars 614 forks source link

fix: Fixed typo ParserError #1570

Closed dploeger closed 6 months ago

dploeger commented 9 months ago

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 config entry twice into the postgresql conf and try to manage it using this module. => Leads to:

Postgresql::Server::Config_entry[max_wal_size]/Postgresql_conf[max_wal_size]: Could not evaluate: uninitialized constant ParserError
Did you mean?  ParseError

I didn't run the tests as I just wanted to correct this simple thing. I can do a full checkout and test them if you'd like.

Checklist

bastelfreak commented 9 months ago

similar to https://github.com/puppetlabs/puppetlabs-postgresql/pull/1540

ekohl commented 6 months ago

We merged #1540