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

(FACT-3451) extend amazon linux os release fact #2653

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

h0tw1r3
Copy link
Contributor

@h0tw1r3 h0tw1r3 commented Dec 7, 2023

Referencing a package version seems to be the only way to do this on Amazon Linux 2023.
Fixes #2647

Semi-related, there's no codename in AL 2023, should 'n/a' really be a default value?

@h0tw1r3 h0tw1r3 requested a review from a team as a code owner December 7, 2023 17:05
@h0tw1r3 h0tw1r3 force-pushed the FACT-3451-extended-release branch 2 times, most recently from 0df9804 to 35726dc Compare December 7, 2023 17:17
@mhashizume mhashizume added the enhancement New feature or enhancement label Dec 13, 2023
@h0tw1r3 h0tw1r3 force-pushed the FACT-3451-extended-release branch 2 times, most recently from c86244a to f6192c2 Compare December 14, 2023 04:11
@h0tw1r3 h0tw1r3 force-pushed the FACT-3451-extended-release branch from f6192c2 to abba895 Compare December 18, 2023 17:43
@mhashizume
Copy link
Contributor

Closing and reopening to rekick checks

@mhashizume mhashizume closed this Dec 18, 2023
@mhashizume mhashizume reopened this Dec 18, 2023
Copy link
Contributor

@mhashizume mhashizume left a comment

Choose a reason for hiding this comment

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

Thanks for this @h0tw1r3 !

@mhashizume mhashizume merged commit 3678f60 into puppetlabs:main Dec 18, 2023
32 of 33 checks passed
@joshcooper
Copy link
Contributor

This changed the os.release.{full,major} facts on Amazon 2 (2017), which breaks the systemd service provider (as it's no longer the default):

 defaultfor 'os.name' => :amazon, 'os.release.major' => ["2", "2023"]

I'll put up a PR to restore the old fact behavior for Amazon 1 and 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide more os.distro.release information for Amazon Linux
3 participants