Commit b566b13 1 parent 8f5f78d commit b566b13 Copy full SHA for b566b13
File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 22
22
} else {
23
23
$url = ' http://repos.sensuapp.org/apt'
24
24
}
25
-
26
25
if $ensure == ' present' {
27
26
apt::key { 'sensu' :
28
27
key => ' 7580C77F' ,
Original file line number Diff line number Diff line change 62
62
let ( :params ) { { :repo_source => 'http://repo.mydomain.com/apt' } }
63
63
it { should contain_apt__source ( 'sensu' ) . with ( :location => 'http://repo.mydomain.com/apt' ) }
64
64
65
- it { should contain_apt__key ( 'sensu' ) . with (
65
+ it { should_not contain_apt__key ( 'sensu' ) . with (
66
66
:key => '7580C77F' ,
67
67
:key_source => 'http://repo.mydomain.com/apt/pubkey.gpg'
68
68
) }
72
72
let ( :params ) { { :install_repo => false , :repo => 'main' } }
73
73
it { should contain_apt__source ( 'sensu' ) . with_ensure ( 'absent' ) }
74
74
75
- it { should contain_apt__key ( 'sensu' ) . with (
75
+ it { should_not contain_apt__key ( 'sensu' ) . with (
76
76
:key => '7580C77F' ,
77
77
:key_source => 'http://repos.sensuapp.org/apt/pubkey.gpg'
78
78
) }
You can’t perform that action at this time.
0 commit comments