Skip to content
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

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Feb 29, 2024

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

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

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.
@ekohl ekohl requested a review from a team as a code owner February 29, 2024 11:10
@ekohl ekohl mentioned this pull request Feb 29, 2024
3 tasks
metadata.json Outdated
@@ -43,7 +43,8 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
"11",
"12"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks odd 🤔

Copy link
Contributor Author

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed space and tabs 😉. Not sure which plugin help me here, maybe "Refined Github"

screenshot of the above

Copy link
Contributor

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.

Copy link
Contributor

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?

Copy link
Collaborator

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?

@praj1001 praj1001 merged commit 18cac85 into puppetlabs:main Mar 1, 2024
36 of 38 checks passed
@ekohl ekohl deleted the debian-12 branch March 1, 2024 09:33
@NITEMAN NITEMAN mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants