-
Notifications
You must be signed in to change notification settings - Fork 460
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
Add support for checking if an apt::keyring
is up-to-date with checksums
#1199
base: main
Are you sure you want to change the base?
Conversation
apt::keyring
is up-to-date with checksums
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
)