We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cc4c2a commit 308c218Copy full SHA for 308c218
manifests/repo/apt.pp
@@ -34,7 +34,7 @@
34
35
apt::key { 'sensu':
36
key => '7580C77F',
37
- key_source => 'http://repos.sensuapp.org/apt/pubkey.gpg',
+ key_source => "${url}/pubkey.gpg",
38
}
39
40
} else {
spec/classes/sensu_package_spec.rb
@@ -61,6 +61,11 @@
61
context 'override repo url' do
62
let(:params) { { :repo_source => 'http://repo.mydomain.com/apt' } }
63
it { should contain_apt__source('sensu').with( :location => 'http://repo.mydomain.com/apt') }
64
+
65
+ it { should contain_apt__key('sensu').with(
66
+ :key => '7580C77F',
67
+ :key_source => 'http://repo.mydomain.com/apt/pubkey.gpg'
68
+ ) }
69
end
70
71
context 'install_repo => false' do
0 commit comments