-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(MODULES-8081): add support for hkps:// protocol in apt::key #815
Conversation
Add hkps:// to the list of protocols supported by apt::key (hkp://, http:// and https://).
https://travis-ci.org/puppetlabs/puppetlabs-apt/jobs/439464775 and https://travis-ci.org/puppetlabs/puppetlabs-apt/jobs/439464776 are failing because hpks started being supported in newer Debian/Ubuntu releases. I'm not sure how to update the tests to allow hkps:// only on recent distro versions. |
@simondeziel I think the best thing to do in this instance is to but an exception around the test's so that their only run on the machines that support hkps, and add a note into the readme which which reflects this limitation. |
@simondeziel Your changes are currently failing on a syntax check, heres the test output:
|
@simondeziel Also, the documentation in the key.pp file still need's to be updated. Everything else looks good to me though. |
…pt_key_provider_spec.rb
@david22swan, I don't understand how to fix this: spec/acceptance/apt_key_provider_spec.rb:481:1: C: Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
if fact('operatingsystem') =~ %r{Ubuntu} && fact('operatingsystemrelease') =~ %r{^18\.04} ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could you walk me through it or point me to a style guide, please? Thanks |
@david22swan, please let me know if something's missing. |
@simondeziel runs clean on adhoc so i'm happy to merge. Sorry for the wait, was out on holiday. |
Add hkps:// to the list of protocols supported by apt::key
(hkp://, http:// and https://).