-
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
server::database_grant: Always set default user/group and expose port as parameter #1493
Conversation
6232171
to
43861a3
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.
One idea that gets lost here is that with connect_settings
you could set defaults for a remote server. I think that makes it backwards incompatible.
@ekohl It's already broken because the defined resource postgresql::server::grant has a port param with a default value and won't use |
@ekohl I could reverse the logic and always use $connect_settings when it's not empty? |
43861a3
to
169b358
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.
Given the already broken conditions this LGTM
f4f2361
to
4304371
Compare
This enables us to make it configureable. When a user doesn't specify it, the defaults will be passed, without breaking existing behaviour.
4304371
to
56fa971
Compare
I made the port optional, so this should be fine now |
This enables us to make it configureable. When a user doesn't specify it, the defaults will be passed, without breaking existing behaviour.