We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dedcfc2 commit 1abcb69Copy full SHA for 1abcb69
spec/acceptance/apt_keyring_spec.rb
@@ -2,6 +2,8 @@
2
3
require 'spec_helper_acceptance'
4
5
+PUPPETLABS_FILE_CHECK_COMMAND = 'ls /etc/apt/keyrings | grep \'puppetlabs-keyring.gpg\''
6
+
7
describe 'apt::keyring' do
8
context 'when using default values and source specified explicitly' do
9
let(:keyring_pp) do
@@ -17,5 +19,9 @@
17
19
idempotent_apply(keyring_pp)
18
20
end
21
22
23
+ it 'expects file to be present at default location' do
24
+ run_shell(PUPPETLABS_FILE_CHECK_COMMAND.to_s)
25
+ end
26
27
0 commit comments