hw-cookbooks/aptly — pull request #8 by bitfehler (2014-06-26 14:47:18+00:00)
Title: Support key imports from file.

Hi,
thanks for sharing this cookbook, very useful!

When adding a remote repo as mirror, the signing key had to be downloaded from a keyserver, which would sometimes fail. With this patch, recipes can include a copy of the key in a file and use this instead:

aptly_mirror "haproxy-wheezy-backports" do
action :create
distribution "wheezy-backports"
component "main"
keyfile "haproxy-backports-signing-key.asc"
uri "http://haproxy.debian.net/"
end

The file haproxy-backports-signing-key.asc should be located in files/default in the cookbook.