Skip to content

Conversation

@AriaXLi
Copy link
Contributor

@AriaXLi AriaXLi commented Apr 25, 2023

Comments are allowed in the /etc/os-release files (see this link for more
information: https://www.man7.org/linux/man-pages/man5/os-release.5.html). This
commit enables comments in /etc/os-releases files without raising an exception
and adds a spec test to ensure Facter is behaving as expected.

Fabiano Pires (fxpires) wrote the commit (#2527) that allows comments in
/etc/os-release files without raising an exception. Previously, Facter would
raise an exception if there was a comment in the /etc/os-release files.

@AriaXLi AriaXLi requested a review from a team as a code owner April 25, 2023 22:36
@AriaXLi AriaXLi force-pushed the FACT-3151 branch 4 times, most recently from d37e26c to 41c8aca Compare April 26, 2023 18:23
Comments are allowed in the /etc/os-release files (see this link for more
information: https://www.man7.org/linux/man-pages/man5/os-release.5.html). This
commit enables comments in /etc/os-releases files without raising an exception
and adds a spec test to ensure Facter is behaving as expected.

Fabiano Pires (fxpires) wrote the commit that allows comments in
/etc/os-release files without raising an exception. Previously, Facter would
raise an exception if there was a comment in the /etc/os-release files.

Co-authored by: Fabiano Pires <[email protected]>
@AriaXLi AriaXLi changed the title (FACT-3151) Add spec tests to ensure /etc/os-release can contain # (FACT-3151) Ensure /etc/os-release can contain comments without raising Apr 26, 2023
@mhashizume mhashizume merged commit db39fd5 into puppetlabs:main Apr 26, 2023
@AriaXLi AriaXLi deleted the FACT-3151 branch April 26, 2023 21:46
@AriaXLi AriaXLi mentioned this pull request Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants