Open cvandermeer opened 9 years ago
still having this problem
Can confirm. Upstream has it too https://github.com/hw-cookbooks/postgresql/issues/261
So, I looked into this more. Upstream has a fix, but that is not merged, nor is it a very sturdy fix.
Problem is that posgres (and maybe some other repo's too) work different depending on the LC_ALL you have set.
IMO, the root user should not set LC* env-vars and leave it to the server to set these. The problem is that this is a client-side configurations. Many debian- and even OSX- variations pass their LC* ENV vars along over SSH. See the ubuntu wiki for some examples.
Askubuntu has some answers too.
My suggestion would be to either:
chef solo
has to be ran with a -F
. That way we can define a sane default config. I am not confident that this work for all clients. And I would expect this to open new issues, seeing that the clients-setups are very different and fast changing.I'll work out a quick PR for 2. or 1 if 2 does not work.
Hi guys,
If we move this code execute 'Set locale and Create cluster' before the line - include_recipe 'postgresql::server_conf' in the 'postgresql::server_debian', it would create the folder and it won't fail.
It is a simple fix.
I have succesfully made a node for a server and got it up and running. I made a second server and node with the same configurations(but diffrent pc) but now i get this error