Skip to content

Commit

Permalink
drop "choria/mcollective" for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 5, 2023
1 parent 4f192cf commit b64de4d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 0 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
"name": "puppetlabs/vcsrepo",
"version_requirement": ">= 1.3.1 < 7.0.0"
},
{
"name": "choria/mcollective",
"version_requirement": ">= 0.10.0 <1.0.0"
},
{
"name": "puppet/systemd",
"version_requirement": ">= 3.2.0 < 7.0.0"
Expand Down
15 changes: 9 additions & 6 deletions spec/acceptance/r10k_webhook_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

describe 'r10k::webhook tests' do
context 'when defaults used' do
it 'applies' do
pp = <<-MANIFEST
it_behaves_like 'an idempotent resource' do
let(:manifest) do
<<-PUPPET
class { 'r10k': }
-> class { 'r10k::webhook': }
MANIFEST

apply_manifest(pp, catch_failures: true)
apply_manifest(pp, catch_changes: true)
PUPPET
end
end

describe package('webhook-go') do
Expand All @@ -31,5 +30,9 @@ class { 'r10k': }
it { is_expected.to be_enabled }

Check failure on line 30 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / - Archlinux rolling

r10k::webhook tests when defaults used Service "webhook-go" is expected to be enabled Failure/Error: it { is_expected.to be_enabled } expected Service "webhook-go" to be enabled
it { is_expected.to be_running }

Check failure on line 31 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / - Archlinux rolling

r10k::webhook tests when defaults used Service "webhook-go" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "webhook-go" to be running
end

describe command('systemctl cat webhook-go') do
it { is_expected.to contain('webhook-go') }

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 7

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 7

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 8

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Rocky 8

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - AlmaLinux 8

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - AlmaLinux 8

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - OracleLinux 7

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - OracleLinux 7

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 18.04

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 18.04

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine

Check failure on line 35 in spec/acceptance/r10k_webhook_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / - Archlinux rolling

r10k::webhook tests when defaults used Command "systemctl cat webhook-go" is expected to contain "webhook-go" Failure/Error: it { is_expected.to contain('webhook-go') } NoMethodError: undefined method `contain' for Command "systemctl cat webhook-go":Serverspec::Type::Command Did you mean? confine
end
end
end
1 change: 1 addition & 0 deletions spec/classes/webhook_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
it { is_expected.to contain_service('webhook-go').with_ensure('running') }
end
end

context 'with params' do
let :params do
{
Expand Down

0 comments on commit b64de4d

Please sign in to comment.