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

feat: use variable for postgresql locale #422

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JGodin-C2C
Copy link

@JGodin-C2C JGodin-C2C commented Dec 13, 2024

This should fix the breaking change introduced by 0c5c270 were the puppetdb can't be created on a system where the locale EN_us.UTF-8 is not installed.

This has been also reported in in #412 (comment)

C.UTF-8 seems a better choice in this case, I'm not a locales expert enough to say if it's the perfect choice.

Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
@JGodin-C2C JGodin-C2C changed the title feat: use variable for postgresql locals. feat: use variable for postgresql locale Dec 13, 2024
@JGodin-C2C
Copy link
Author

/me gently waving in the general direction of @bastelfreak @smortex ,

@bastelfreak
Copy link
Collaborator

Hi,
I'm currently holding off reviews until https://www.puppet.com/blog/open-source-puppet-updates-2025 is sorted out.

@@ -63,7 +63,7 @@
grant: 'all',
port: params[:database_port].to_i,
encoding: 'UTF8',
locale: 'en_US.UTF-8',
locale: params[:postgresql_locale],
Copy link
Collaborator

Choose a reason for hiding this comment

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

postgresql_locale does not appear in the params definition, so I would expect CI to fail, let's see…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants