-
Notifications
You must be signed in to change notification settings - Fork 270
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
Support Debian 12 and refactor to make that easier #585
Conversation
This introduces variables to make it easier to support multiple versions.
This sets up common contexts for an OS and then runs the tests within those. This avoids duplicating the fact definitions.
metadata.json
Outdated
@@ -43,7 +43,8 @@ | |||
"operatingsystem": "Debian", | |||
"operatingsystemrelease": [ | |||
"10", | |||
"11" | |||
"11", | |||
"12" |
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 odd 🤔
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.
How so? Isn't it just because JSON doesn't have trailing commas?
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.
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.
BTW it is fixed in the final patch.
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.
The Debian 12 is not yet supported by Puppet eco-system, so just trying to grab thought that should we revert from metadata?
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.
Debian 12 packages were released a few days ago?
Summary
This refactors the code to make it easier to support multiple versions without copying a lot of code.
Related Issues
It's based on #569
Checklist
puppet apply
)