feat: use variable for postgresql locale #106
ci.yml
on: pull_request
  
      Spec 
      /
     Setup Test Matrix
          
              44s
          
      
      
        Matrix: Spec / spec
      
    
    
      
        Matrix: Acceptance / acceptance
      
    
    
      
      
        Waiting for pending jobs
      
    
Annotations
4 errors and 4 warnings
          | 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/database/postgresql_spec.rb#L58
                      
                       puppetdb::database::postgresql on a supported platform manage database with defaults is expected to contain Postgresql::Server::Db[puppetdb] with user => "puppetdb", password => "puppetdb", grant => "all", port => 5432, encoding => "UTF8" and locale defined
Failure/Error:
  is_expected.to contain_postgresql__server__db(params[:database_name])
    .with(
      user:     params[:database_username],
      password: params[:database_password],
      grant:    'all',
      port:     params[:database_port].to_i,
      encoding: 'UTF8',
      locale:   params[:postgresql_locale],
    )
  expected that the catalogue would contain Postgresql::Server::Db[puppetdb] with locale undefined but it is set to "C.UTF-8" | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
                        
                      
                       Process completed with exit code 1. | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/database/postgresql_spec.rb#L58
                      
                       puppetdb::database::postgresql on a supported platform manage database with defaults is expected to contain Postgresql::Server::Db[puppetdb] with user => "puppetdb", password => "puppetdb", grant => "all", port => 5432, encoding => "UTF8" and locale defined
Failure/Error:
  is_expected.to contain_postgresql__server__db(params[:database_name])
    .with(
      user:     params[:database_username],
      password: params[:database_password],
      grant:    'all',
      port:     params[:database_port].to_i,
      encoding: 'UTF8',
      locale:   params[:postgresql_locale],
    )
  expected that the catalogue would contain Postgresql::Server::Db[puppetdb] with locale undefined but it is set to "C.UTF-8" | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
                        
                      
                       Process completed with exit code 1. | 
| 
                      
                          Spec / Setup Test Matrix
                        
                      
                       ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636 | 
| 
                      
                          Spec / Setup Test Matrix
                        
                      
                       Cannot find image for SLES-12 SP3 | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
                        
                      
                       ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636 | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
                        
                      
                       ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636 |