Skip to content

Commit

Permalink
test(repository): keyring should not be installed in debian family
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbertoli committed Feb 10, 2023
1 parent 12666c3 commit fa812f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,4 @@ suites:
repo.sls: test/salt/pillar/repo.sls
verifier:
inspec_tests:
- path: test/integration/repo
- path: test/integration/repo
4 changes: 2 additions & 2 deletions test/integration/repo/controls/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
end

control 'Postgresql repository keyring' do
title 'should be installed'
title 'should not be installed'

only_if('Requirement for Debian family') do
os.debian?
end

describe package('pgdg-keyring') do
it { should be_installed }
it { should_not be_installed }
end

describe file(repo_keyring) do
Expand Down

0 comments on commit fa812f2

Please sign in to comment.