Skip to content

Commit

Permalink
Adopt to latest puppetlabs/apt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Nov 21, 2024
1 parent 41d06c4 commit a780f99
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/classes/puppet_agent_osfamily_debian_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,14 @@
is_expected.to contain_apt__setting('conf-pe-repo')
.with({
'priority' => 90,
'content' => '',
'ensure' => 'absent',
})
}

it {

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Released / Puppet8 gem on Ruby 3.1 on Linux

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /home/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node fv-az2030-695.pu5lknrddnwuvp4clep2mxrrgc.bx.internal.cloudapp.net

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Nightly / Puppet8 gem on Ruby 3.1 on Linux

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /home/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node fv-az588-14.y5hbabdaf5ee3jeq0kbyd0i35f.phxx.internal.cloudapp.net

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Released / Puppet7 gem on Ruby 2.7 on Linux

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /home/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node fv-az1054-928.i4fzvvxx3y0uvlp3xd0pmftaba.phxx.internal.cloudapp.net

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Released / Puppet8 gem on Ruby 3.1 on macOS

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /Users/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node mac-1732191362866.local

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Nightly / Puppet7 gem on Ruby 2.7 on Linux

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /home/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node fv-az1151-385.kvfmkfhqcd1elnt153szgygjng.cx.internal.cloudapp.net

Check failure on line 65 in spec/classes/puppet_agent_osfamily_debian_spec.rb

View workflow job for this annotation

GitHub Actions / Nightly / Puppet8 gem on Ruby 3.1 on macOS

puppet_agent when PE when managing PE debian apt repo is expected to contain Apt::Setting[list-puppet-enterprise-installer] with ensure => "absent" Failure/Error: is_expected.to contain_apt__setting('list-puppet-enterprise-installer') .with({ 'ensure' => 'absent', }) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /Users/runner/work/puppetlabs-puppet_agent/puppetlabs-puppet_agent/spec/fixtures/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node mac-1732191479457.local
is_expected.to contain_apt__setting('list-puppet-enterprise-installer')
.with({
'content' => '',
'ensure' => 'absent',
'ensure' => 'absent',
})
}
end
Expand Down

0 comments on commit a780f99

Please sign in to comment.