Skip to content

Commit

Permalink
Revert to it do
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris29 authored Jan 23, 2024
1 parent 5194050 commit 21c2332
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/classes/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@

case facts[:os]['family']
when 'RedHat'
it {
it do
is_expected.to contain_yumrepo('rundeck').with(
baseurl: 'https://packages.rundeck.com/pagerduty/rundeck/rpm_any/rpm_any/$basearch',
repo_gpgcheck: 1,
gpgcheck: 0,
enabled: 1,
gpgkey: 'https://packages.rundeck.com/pagerduty/rundeck/gpgkey'
).that_comes_before('Package[rundeck]')
}
end
when 'Debian'
it {
it do

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

rundeck on debian-10-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

rundeck on debian-11-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

rundeck on ubuntu-18.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

rundeck on ubuntu-20.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 (Ruby 3.2)

rundeck on ubuntu-22.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

rundeck on debian-11-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

rundeck on ubuntu-18.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

rundeck on debian-10-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

rundeck on ubuntu-22.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}

Check failure on line 29 in spec/classes/install_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 (Ruby 2.7)

rundeck on ubuntu-20.04-x86_64 without any parameters test rundeck::install is expected to contain Apt::Source[rundeck] with location => "https://packages.rundeck.com/pagerduty/rundeck/any", release => "any", repos => "main" and key => {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} Failure/Error: is_expected.to contain_apt__source('rundeck').with( location: 'https://packages.rundeck.com/pagerduty/rundeck/any', release: 'any', repos: 'main', key: { 'id' => '0DDD2FA79B15D736ECEA32B89B5206167C5C34C0', 'server' => 'keyserver.ubuntu.com', } ) expected that the catalogue would contain Apt::Source[rundeck] with key set to {"id"=>"0DDD2FA79B15D736ECEA32B89B5206167C5C34C0", "server"=>"keyserver.ubuntu.com"} but it is set to {"name"=>"rundeck.asc", "source"=>"https://packages.rundeck.com/pagerduty/rundeck/gpgkey"}
is_expected.to contain_apt__source('rundeck').with(
location: 'https://packages.rundeck.com/pagerduty/rundeck/any',
release: 'any',
Expand All @@ -36,7 +36,7 @@
'server' => 'keyserver.ubuntu.com',
}
)
}
end

it { is_expected.to contain_class('apt::update').that_comes_before('Package[rundeck]') }
end
Expand Down

0 comments on commit 21c2332

Please sign in to comment.