Closed palfrey closed 6 years ago
I think its reasonable to add the package to be installed in the default recipe. Not sure how the other maintainers feel but I can certainly agree with the debian maintainer that gpg
can be run without dirmgr
as it is only needed if you are using a nework. As this repo/cookbook clearly takes the stance that you have a network to add keys from I think we should add it here.
Cookbook version
6.1.4
Chef-client version
13.7.16
Platform Details
Debian Stretch
Scenario:
Adding new
apt_repository
Steps to Reproduce:
I was using nodejs::repo (https://github.com/redguide/nodejs/blob/master/recipes/repo.rb) but anything that uses
apt_repository
on a fresh Debian Stretch box will fail similarly. Note that this doesn't work on your current Travis tests, as the Dokken Docker Stretch box installs dirmngr (https://github.com/someara/dokken-images/blob/master/debian-9/Dockerfile)Expected Result:
New apt repository added ok
Actual Result:
Relatedly, there's https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845720 but upstream has marked it as "wontfix" for some reason.