add possibility to manage puppetdb terminus package #110
ci.yml
on: pull_request
  
      Spec 
      /
     Setup Test Matrix
          
              43s
          
      
      
        Matrix: Spec / spec
      
    
    
      
        Matrix: Acceptance / acceptance
      
    
    
      
      
        Waiting for pending jobs
      
    
Annotations
20 errors and 3 warnings
          | 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L13
                      
                       puppetdb on debian-10-x86_64 when using default values for puppetdb class is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L14
                      
                       puppetdb on debian-10-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb]
Failure/Error: it { is_expected.to contain_class('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L15
                      
                       puppetdb on debian-10-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb::server]
Failure/Error: it { is_expected.to contain_class('puppetdb::server') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L16
                      
                       puppetdb on debian-10-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb::database::postgresql]
Failure/Error: it { is_expected.to contain_class('puppetdb::database::postgresql') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L17
                      
                       puppetdb on debian-10-x86_64 when using default values for puppetdb class is expected to contain Postgresql::Server::Db[puppetdb]
Failure/Error: it { is_expected.to contain_postgresql__server__db('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L35
                      
                       puppetdb on debian-10-x86_64 without managed postgresql manifest is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L47
                      
                       puppetdb on debian-10-x86_64 without managed postgresql database manifest is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L48
                      
                       puppetdb on debian-10-x86_64 without managed postgresql database manifest is expected not to contain Postgresql::Server::Db[puppetdb]
Failure/Error: it { is_expected.not_to contain_postgresql__server__db('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L62
                      
                       puppetdb on debian-10-x86_64 when not managing the database password ini_setting entries for the password will not exist is expected to contain Class[puppetdb::server] with manage_db_password => false
Failure/Error: it { is_expected.to contain_class('puppetdb::server').with('manage_db_password' => false) }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): 
                        spec/unit/classes/init_spec.rb#L63
                      
                       puppetdb on debian-10-x86_64 when not managing the database password ini_setting entries for the password will not exist is expected to contain Class[puppetdb::server] with manage_read_db_password => false
Failure/Error: it { is_expected.to contain_class('puppetdb::server').with('manage_read_db_password' => false) }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az1712-808.lhm3ulpsbctevpjh1ubccdsbdd.bx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L13
                      
                       puppetdb on centos-7-x86_64 when using default values for puppetdb class is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L14
                      
                       puppetdb on centos-7-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb]
Failure/Error: it { is_expected.to contain_class('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L15
                      
                       puppetdb on centos-7-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb::server]
Failure/Error: it { is_expected.to contain_class('puppetdb::server') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L16
                      
                       puppetdb on centos-7-x86_64 when using default values for puppetdb class is expected to contain Class[puppetdb::database::postgresql]
Failure/Error: it { is_expected.to contain_class('puppetdb::database::postgresql') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L17
                      
                       puppetdb on centos-7-x86_64 when using default values for puppetdb class is expected to contain Postgresql::Server::Db[puppetdb]
Failure/Error: it { is_expected.to contain_postgresql__server__db('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L35
                      
                       puppetdb on centos-7-x86_64 without managed postgresql manifest is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L47
                      
                       puppetdb on centos-7-x86_64 without managed postgresql database manifest is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is_expected.to compile.with_all_deps }
  error during compilation: Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/init_spec.rb#L48
                      
                       puppetdb on centos-7-x86_64 without managed postgresql database manifest is expected not to contain Postgresql::Server::Db[puppetdb]
Failure/Error: it { is_expected.not_to contain_postgresql__server__db('puppetdb') }
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node fv-az792-548.am1wewo5aexuxg4vaakjf1qqhc.phxx.internal.cloudapp.net | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/master/config_spec.rb#L20
                      
                       puppetdb::master::config on centos-7-x86_64 when PuppetDB and Puppet Master are on the same server when using default values is expected to contain Puppetdb_conn_validator[puppetdb_conn] with puppetdb_server => "puppetdb.example.com", puppetdb_port => "8081" and use_ssl => "true"
Failure/Error:
  is_expected.to contain_puppetdb_conn_validator('puppetdb_conn').with(
    puppetdb_server: 'puppetdb.example.com',
    puppetdb_port: '8081',
    use_ssl: 'true',
  )
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node puppetdb.example.com | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): 
                        spec/unit/classes/master/config_spec.rb#L32
                      
                       puppetdb::master::config on centos-7-x86_64 when PuppetDB and Puppet Master are on the same server when puppetdb class is declared with disable_ssl => true is expected to contain Puppetdb_conn_validator[puppetdb_conn] with puppetdb_port => "8080" and use_ssl => "false"
Failure/Error:
  is_expected.to contain_puppetdb_conn_validator('puppetdb_conn').with(
    puppetdb_port: '8080',
    use_ssl: 'false',
  )
Puppet::PreformattedError:
  Evaluation Error: Unknown variable: 'puppetdb::params::puppetdb_terminus_package'. (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/init.pp, line: 402, column: 46) on node puppetdb.example.com | 
| 
                      
                          Spec / Setup Test Matrix
                        
                      
                       Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-2.7.8-wd-/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb-with--without-release_prep-only--Gemfile.lock-60b69bd3f47b6781c0cbae8fde8a5ffddeb70d7fac809832a186a9a35f9071a5, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-2.7.8-wd-/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb-with--without-release_prep-only--Gemfile.lock- | 
| 
                      
                          Spec / Setup Test Matrix
                        
                      
                       Cannot find image for SLES-12 SP3 | 
| 
                      
                          Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
                        
                      
                       Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb-with--without-release_prep-only--Gemfile.lock-602b8d00913210869760482230e9ac3841d54a055ac72dc71a3c9147d3ec674c, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb-with--without-release_prep-only--Gemfile.lock- |