Skip to content

Commit

Permalink
apt_key: fix some whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bootc committed Mar 15, 2015
1 parent 42ab470 commit a24c412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/puppet/provider/apt_key/apt_key.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ def tempfile(content)
extracted_key = execute(["#{command(:gpg)} --with-fingerprint --with-colons #{file.path} | awk -F: '/^fpr:/ { print $10 }'"], :failonfail => false)
extracted_key = extracted_key.chomp
if extracted_key != name
fail ("The id in your manifest #{resource[:name]} and the fingerprint from content/source do not match. Please check there is not an error in the id or check the content/source is legitimate.")
fail("The id in your manifest #{resource[:name]} and the fingerprint from content/source do not match. Please check there is not an error in the id or check the content/source is legitimate.")
end
else
warning ('/usr/bin/gpg cannot be found for verification of the id.')
end
warning('/usr/bin/gpg cannot be found for verification of the id.')
end
end
file.path
end
Expand Down

0 comments on commit a24c412

Please sign in to comment.