Add support for checking if an apt::keyring is up-to-date with checksums#1199
Add support for checking if an apt::keyring is up-to-date with checksums#1199NeatNerdPrime wants to merge 2 commits intopuppetlabs:mainfrom
apt::keyring is up-to-date with checksums#1199Conversation
apt::keyring is up-to-date with checksums
smortex
left a comment
There was a problem hiding this comment.
That looks good but we also need to adjust the apt::source defined type so that we can pass the checksum / checksum_value there too through the key parameter.
In response to @smortex comment: puppetlabs#1199 (review) * Trickled up the checksum-related parameters for `apt::source` * Modified test for source, all green.
|
Hello again. I added the requested changes, but whiel doing so i stumbled upon a perhaps uncomfortable situation. Given the changes in the source_spec.rb test: https://github.com/puppetlabs/puppetlabs-apt/pull/1199/files#diff-abe1d0bffeeb2d6d33970b8d3272b76455f72cf2541de5f85678bd76817446e4 I realize that the parameter 'key' in It begs the question: "Should we add a parameter 'keyring' to the defined resource, being mutually exclusive to the 'key' parameter, that calls upon This could make things more clear from a user perspective and - unless Im mistaken - should be backwards compatible. What do you people think? |
puppetlabs#1196 * Adds checksum and checksum_value parameter to apt::keyring, this should address issue/1196 as commented here puppetlabs#1196 (comment) * Includes tests, all green.
In response to @smortex comment: puppetlabs#1199 (review) * Trickled up the checksum-related parameters for `apt::source` * Modified test for source, all green.
6fdaca8 to
12b7f80
Compare
#1196
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
puppet apply)