(#4913) apt_key now does not always send auth basic
authorStefan Andres <s.andres@syseleven.de>
Mon, 15 May 2017 08:21:50 +0000 (10:21 +0200)
committerStefan Andres <s.andres@syseleven.de>
Mon, 15 May 2017 08:21:50 +0000 (10:21 +0200)
commit920e34c0b6f5847965f1897c81e3123ddff172cf
tree29a84dd1298cdfa58e29c68924f852c49211b8dd
parentda0bcf16e52d8ae62d29268d2684e209812263a0
(#4913) apt_key now does not always send auth basic

Prior to this commit, apt_key always sent auth basic header when source
came from http(s). This might fail for some webservers (e.g. Amazon S3)
when empty auth basic is sent.

Now apt_key only sends the auth basic header when userinfo can
be parsed from the URL.
lib/puppet/provider/apt_key/apt_key.rb