Skip to content
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::grant: make port optional/restore connect_settings feature #1496

Merged
merged 1 commit into from Aug 31, 2023

Conversation

bastelfreak
Copy link
Collaborator

@bastelfreak bastelfreak commented Aug 31, 2023

Previously the port parameter had a default value. This broke the logic
to identify the port. The port is now optional. If it's not set,
$connect_settings is checked for PGPORT. If that also doesn't exist, the
default from the server class is used.

@bastelfreak bastelfreak force-pushed the server_grant branch 4 times, most recently from 95b8e3a to 967850d Compare August 31, 2023 14:56
Previously the port parameter had a default value. This broke the logic
to identify the port. The port is now optional. If it's not set,
$connect_settings is checked for PGPORT. If that also doesn't exist, the
default from the server class is used.
@bastelfreak bastelfreak merged commit 32114e1 into puppetlabs:main Aug 31, 2023
38 checks passed
@bastelfreak bastelfreak deleted the server_grant branch August 31, 2023 15:29
@bastelfreak bastelfreak changed the title server::grant: Prefer $connect_settings over default port server::grant: make port optional/restore connect_settings feature Aug 31, 2023
@bastelfreak bastelfreak changed the title server::grant: make port optional/restore connect_settings feature server::grant: make port optional/restore connect_settings feature Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants