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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing parameters to initdb #1451

Merged
merged 3 commits into from Jul 3, 2023

Conversation

SimonHoenscheid
Copy link
Collaborator

@SimonHoenscheid SimonHoenscheid commented Jun 27, 2023

Summary

postgresql::server::instance::initdb define:

  • auth_host
  • auth_local
  • lc_messages
  • username

postgresql::server::initdb class:

  • auth_host
  • auth_local
  • lc_messages
  • username

postgresql::server class:

  • auth_host
  • auth_local
  • lc_messages
  • username

refactoring

postgresql::server::instance::initdb define:

  • unnecessary conditions
  • remove brackets from if conditions
  • parameter checking and initdb command concatination

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 馃煝 Spec tests.
  • 馃煝 Acceptance tests.
  • Manually verified. (For example puppet apply)

manifests/params.pp Outdated Show resolved Hide resolved
@SimonHoenscheid SimonHoenscheid force-pushed the initdb_parameters branch 2 times, most recently from 181fbd2 to 930e911 Compare June 27, 2023 13:37
@bastelfreak bastelfreak changed the title added parameters to initdb add missing parameters to initdb Jun 28, 2023
bastelfreak
bastelfreak previously approved these changes Jun 28, 2023
Copy link
Collaborator

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SLES failures are unrelated. the litmus image is broken

postgresql::server::instance::initdb define:

* auth_host
* auth_local
* lc_messages
* username

postgresql::server::initdb class:

* auth_host
* auth_local
* lc_messages
* username

postgresql::server class:

* auth_host
* auth_local
* lc_messages
* username

refactoring

postgresql::server::instance::initdb define:

* unnecessary conditions
* remove brackets from if conditions
* parameter checking and initdb command concatination
@SimonHoenscheid SimonHoenscheid marked this pull request as ready for review July 3, 2023 12:12
@bastelfreak bastelfreak merged commit 1706fb3 into puppetlabs:main Jul 3, 2023
38 checks passed
@SimonHoenscheid SimonHoenscheid deleted the initdb_parameters branch July 3, 2023 13:42
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