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

Fix error when creating roles on AWS RDS

Open hackdna opened this issue 2 years ago • 8 comments

More details: https://tickets.puppetlabs.com/browse/MODULES-5068

hackdna avatar Jun 21 '22 22:06 hackdna

postgresql::server::role is a type

Breaking changes to this file WILL impact these 22 modules (exact match):
Breaking changes to this file MAY impact these 6 modules (near match):

This module is declared in 70 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 21 '22 22:06 CLAassistant

Hello! 👋

This pull request has been open for a while and has had no recent activity. We've labelled it with attention-needed so that we can get a clear view of which PRs need our attention.

If you are waiting on a response from us we will try and address your comments on a future Community Day.

Alternatively, if it is no longer relevant to you please close the PR with a comment.

Please note that if a pull request receives no update for 7 after it has been labelled, it will be closed. We are always happy to re-open pull request if they have been closed in error.

github-actions[bot] avatar Aug 27 '22 02:08 github-actions[bot]

Removing needs attention label, apologies we haven't got around to triaging and reviewing this PR.

pmcmaw avatar Aug 30 '22 08:08 pmcmaw

Would you mind rebasing @smortex, im going to add it to a priority list to get picked up on our next community day.

pmcmaw avatar Aug 30 '22 08:08 pmcmaw

No worries. Looking forward to getting this 5 year old issue finally addressed.

hackdna avatar Aug 30 '22 15:08 hackdna

Would you mind rebasing @smortex, im going to add it to a priority list to get picked up on our next community day.

Poke @hackdna as they own the PR.

smortex avatar Aug 30 '22 23:08 smortex

hey @hackdna, we're looking into this. Could you rebase and resolve any conflicts? Thanks!

GSPatton avatar Oct 17 '22 09:10 GSPatton

Great, thanks for looking into this. I think I've resolved the merge conflict.

hackdna avatar Oct 20 '22 21:10 hackdna

Hey @hackdna . pg_roles is also a deprecated view, so replacing instances of one deprecated view with another is not a satisfactory fix unfortunately. I advise you research other potential fixes and create another PR when you've found something and we'll happily take a look.

Thank you for your contributions!

GSPatton avatar Oct 24 '22 15:10 GSPatton

Hey @GSPatton, I've used pg_roles because it's already used extensively in role.pp. Also, another "legacy" view pg_shadow was used in a recently merged PR: https://github.com/puppetlabs/puppetlabs-postgresql/pull/1347/files. How is this case different?

hackdna avatar Oct 24 '22 19:10 hackdna