-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
define Enum on supported encryption types for postgresql_password #1611
base: main
Are you sure you want to change the base?
Conversation
396aec2
to
6084f19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have defined this as an enum:
type Postgresql::Pg_password_encryption = Enum['md5', 'scram-sha-256'] |
And it's used in multiple places now, so this would risk them going out of sync. I'd at least expect a comment in both places to remind people to keep them in sync.
ab6983e
to
9eb7968
Compare
9eb7968
to
167412d
Compare
I've added a comment to both files. |
Is there a chance you can add a test with |
5609bd0
to
63eebc3
Compare
Sure - i've copied |
The previous code in |
Summary
This PR fixes 1575
Additional Context
Related Issues (if any)
Checklist
I was hitting 1575 when using a Deferred password. With this fix, puppet creates the database as before (v9.2.0)