Repository navigation
Conversation
b6d84fd to
db101ef
Compare
|
Hey @bwitt , thanks for opening up this PR. It's good to get this fixed up, but I'm wondering if the fix should actually be over in the type. Tightening up the types accepted seems like a good idea, rather than going with a complex regex that could be more difficult to maintain. Looking at Stdlib::Host it seems like it allows the types I know this RegEx pattern for types is already used elsewhere in the module, but perhaps we can solve this a different way that keeps the benefits of a stronger type? Perhaps a new type in this module that composes |
Signed-off-by: Brian Witt <brianwitt@gmail.com>
apt::keyserver like apt::key serverapt::keyserver via Apt::Keyserver type
|
@jst-cyr done! thanks! |
|
Thanks @bwitt , I'll get some testing going! |
|
Running CI tests for this PR here: #1328 |
|
Acceptance Test Results: https://github.com/puppetlabs/puppetlabs-apt/actions/runs/39711758732?pr=1328 ✅ Full green test results! |
Summary
Allow
hkpsURLs forapt::keyserverlikeapt::key'sserver, via a new typeApt::Keyserver.Change
aptandapt::keyto use this new typeRelated Issues (if any)
Fixes #1213
Checklist
puppet apply)