From: Chris Boot Date: Sun, 15 Mar 2015 22:47:15 +0000 (+0000) Subject: apt_key: fix some whitespace issues X-Git-Tag: 1.8.0~3^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a24c41247f3b5e17fb20dce7e9ea4e9356f39d66;p=puppet-modules%2Fpuppetlabs-apt.git apt_key: fix some whitespace issues --- diff --git a/lib/puppet/provider/apt_key/apt_key.rb b/lib/puppet/provider/apt_key/apt_key.rb index 8878022..cd68d37 100644 --- a/lib/puppet/provider/apt_key/apt_key.rb +++ b/lib/puppet/provider/apt_key/apt_key.rb @@ -142,11 +142,11 @@ Puppet::Type.type(:apt_key).provide(:apt_key) do 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