Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Don't truncate to short keys in the type
[puppet-modules/puppetlabs-apt.git]
/
lib
/
puppet
/
type
/
apt_key.rb
diff --git
a/lib/puppet/type/apt_key.rb
b/lib/puppet/type/apt_key.rb
index e2cb8d9cf92695dded9d331b627dc7759abc9092..f55247314cc6f650bab39dd13735bcdda3b9dc3e 100644
(file)
--- a/
lib/puppet/type/apt_key.rb
+++ b/
lib/puppet/type/apt_key.rb
@@
-36,11
+36,7
@@
Puppet::Type.newtype(:apt_key) do
else
id = value.upcase
end
else
id = value.upcase
end
- if id.length == 16
- id[8..-1]
- else
- id
- end
+ id
end
end
end
end