File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed 
spec/unit/classes/database Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -919,6 +919,7 @@ The following parameters are available in the `puppetdb::database::postgresql` c
919919*  [ ` listen_addresses ` ] ( #-puppetdb--database--postgresql--listen_addresses ) 
920920*  [ ` puppetdb_server ` ] ( #-puppetdb--database--postgresql--puppetdb_server ) 
921921*  [ ` database_name ` ] ( #-puppetdb--database--postgresql--database_name ) 
922+ *  [ ` database_locale ` ] ( #-puppetdb--database--postgresql--database_locale ) 
922923*  [ ` database_username ` ] ( #-puppetdb--database--postgresql--database_username ) 
923924*  [ ` database_password ` ] ( #-puppetdb--database--postgresql--database_password ) 
924925*  [ ` database_port ` ] ( #-puppetdb--database--postgresql--database_port ) 
@@ -963,6 +964,14 @@ Sets the name of the database. Defaults to `puppetdb`.
963964
964965Default value: ` $puppetdb::params::database_name ` 
965966
967+ ##### <a  name =" -puppetdb--database--postgresql--database_locale " ></a >` database_locale `   
968+ 
969+ Data type: ` Any ` 
970+ 
971+ Sets the locale of the database. Defaults to ` C.UTF-8 ` .
972+ 
973+ Default value: ` $puppetdb::params::database_locale ` 
974+ 
966975##### <a  name =" -puppetdb--database--postgresql--database_username " ></a >` database_username `   
967976
968977Data type: ` Any ` 
Original file line number Diff line number Diff line change 1212#  @param database_name
1313#    Sets the name of the database. Defaults to `puppetdb`.
1414# 
15+ #  @param database_locale
16+ #    Sets the locale of the database. Defaults to `C.UTF-8`.
17+ # 
1518#  @param database_username
1619#    Creates a user for access the database. Defaults to `puppetdb`.
1720# 
7477  $listen_addresses            = $puppetdb::params::database_host,
7578  $puppetdb_server             = $puppetdb::params::puppetdb_server,
7679  $database_name               = $puppetdb::params::database_name,
80+   $database_locale = $puppetdb::params::database_locale,
7781  $database_username           = $puppetdb::params::database_username,
7882  Variant[String[1], Sensitive[String[1]]] $database_password = $puppetdb::params::database_password,
7983  $database_port               = $puppetdb::params::database_port,
150154      user      => $database_username ,
151155      password  => $database_password ,
152156      encoding  => ' UTF8' 
153-       locale    => ' en_US.UTF-8 ' 
157+       locale    => $database_locale ,
154158      grant     => ' all' 
155159      port      => $port ,
156160    }
Original file line number Diff line number Diff line change 3535  $database_host           = ' localhost' 
3636  $database_port           = ' 5432' 
3737  $database_name           = ' puppetdb' 
38+   $database_locale         = ' C.UTF-8' 
3839  $database_username       = ' puppetdb' 
3940  $database_password       = ' puppetdb' 
4041  $manage_db_password      = true 
Original file line number Diff line number Diff line change 6363            grant :    'all' , 
6464            port :     params [ :database_port ] . to_i , 
6565            encoding : 'UTF8' , 
66-             locale :   'en_US .UTF-8' 
66+             locale :   'C .UTF-8' 
6767          ) 
6868      } 
6969
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments