-
Notifications
You must be signed in to change notification settings - Fork 495
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-3114) Arch Linux: Implement os version facts #2483
Conversation
Can one of the admins verify this patch? |
please provide some feedback. I'm not sure how to write spec tests for this and I haven't tested this yet on Arch Linux. |
Facter 4 makes some assumptions that the Your implementation will then need to query (something?) to get the OS version. You may also want to update the fact OS hierarchy code in Line 6 in e5ad338
osfamily is consistent across facter 3 and 4
|
Hi @bastelfreak please see my last comments about next steps, thanks! |
1a33a2f
to
6657d2f
Compare
From this branch: ``` $ bundle exec facter os { architecture => "x86_64", distro => { codename => "n/a", description => "Arch Linux", id => "Arch", release => { full => "rolling", major => "rolling", minor => null }, specification => "n/a" }, family => "Archlinux", hardware => "x86_64", name => "Archlinux", release => { full => "6.9.3-arch1-1", major => "6", minor => "9" }, selinux => { enabled => false } } ``` Facter 3 on Archlinux: ``` $ facter os { architecture => "x86_64", distro => { codename => "n/a", description => "Arch Linux", id => "Arch", release => { full => "rolling", major => "rolling" }, specification => "n/a" }, family => "Archlinux", hardware => "x86_64", name => "Archlinux", release => { full => "6.9.3-arch1-1", major => "6", minor => "9" }, selinux => { enabled => false } } ```
thanks for merging! |
From this branch:
Facter 3 on Archlinux: