Skip to content

Commit

Permalink
Merge pull request #579 from sbadia/use-long-gpg-id
Browse files Browse the repository at this point in the history
apt::key: puppetlabs-apt check now the full GPG fingerprints.
  • Loading branch information
jfryman committed Mar 20, 2015
2 parents 82bda98 + 5f1da4f commit 13b2e44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions manifests/package/debian.pp
Expand Up @@ -36,15 +36,15 @@
apt::source { 'nginx':
location => "http://nginx.org/packages/${distro}",
repos => 'nginx',
key => '7BD9BF62',
key => 'ABF5BD827BD9BF62',
key_source => 'http://nginx.org/keys/nginx_signing.key',
}
}
'nginx-mainline': {
apt::source { 'nginx':
location => "http://nginx.org/packages/mainline/${distro}",
repos => 'nginx',
key => '7BD9BF62',
key => 'ABF5BD827BD9BF62',
key_source => 'http://nginx.org/keys/nginx_signing.key',
}
}
Expand All @@ -61,7 +61,7 @@
ensure => 'present',
require => Exec['apt_update'],
}

if $package_name != 'nginx-extras' {
warning('You must set $package_name to "nginx-extras" to enable Passenger')
}
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/package_spec.rb
Expand Up @@ -67,7 +67,7 @@
it { is_expected.to contain_apt__source('nginx').with(
'location' => "http://nginx.org/packages/#{operatingsystem.downcase}",
'repos' => 'nginx',
'key' => '7BD9BF62',
'key' => 'ABF5BD827BD9BF62',
'key_source' => 'http://nginx.org/keys/nginx_signing.key'
)}
it { is_expected.to contain_anchor('nginx::package::begin').that_comes_before('Class[nginx::package::debian]') }
Expand Down

0 comments on commit 13b2e44

Please sign in to comment.