Skip to content

Update facter regex to work for Rust sudo variant (sudo-rs)#334

Merged
saz merged 2 commits intosaz:masterfrom
ky3mr2:master
Mar 5, 2026
Merged

Update facter regex to work for Rust sudo variant (sudo-rs)#334
saz merged 2 commits intosaz:masterfrom
ky3mr2:master

Conversation

@ky3mr2
Copy link
Copy Markdown
Contributor

@ky3mr2 ky3mr2 commented Mar 4, 2026

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@kenyon
Copy link
Copy Markdown

kenyon commented Mar 4, 2026

Fixes #331.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the custom sudoversion Facter fact parsing to recognize Rust-based sudo-rs output, addressing failures on newer Ubuntu releases.

Changes:

  • Expand the sudo -V output regex to match both classic Sudo version … and sudo-rs … formats.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@saz saz merged commit 822b386 into saz:master Mar 5, 2026
12 checks passed
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.

4 participants