From 45c3f59d062261d98ad932aa27cdaf8d64777afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20S=C3=A9hier?= Date: Fri, 13 Dec 2024 08:50:38 +0100 Subject: [PATCH] fix: Use C.UTF8 locale to create puppetdb database instead of en_US --- manifests/database/postgresql.pp | 2 +- spec/unit/classes/database/postgresql_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/database/postgresql.pp b/manifests/database/postgresql.pp index 825b3fe7..6c36e16c 100644 --- a/manifests/database/postgresql.pp +++ b/manifests/database/postgresql.pp @@ -150,7 +150,7 @@ user => $database_username, password => $database_password, encoding => 'UTF8', - locale => 'en_US.UTF-8', + locale => 'C.UTF-8', grant => 'all', port => $port, } diff --git a/spec/unit/classes/database/postgresql_spec.rb b/spec/unit/classes/database/postgresql_spec.rb index 74fd63b9..a1ad12a0 100644 --- a/spec/unit/classes/database/postgresql_spec.rb +++ b/spec/unit/classes/database/postgresql_spec.rb @@ -63,7 +63,7 @@ grant: 'all', port: params[:database_port].to_i, encoding: 'UTF8', - locale: 'en_US.UTF-8', + locale: 'C.UTF-8', ) }