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', ) }