-
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
Tests fail on Arch Linux #2752
Comments
Some facts from facter 4.8.0 on Arch Linux, if that helps: {
"facterversion": "4.8.0",
"os": {
"architecture": "x86_64",
"distro": {
"codename": "n/a",
"description": "Arch Linux",
"id": "Arch",
"release": {
"full": "rolling",
"major": "rolling",
"minor": ""
},
"specification": "n/a"
},
"family": "Archlinux",
"hardware": "x86_64",
"name": "Archlinux",
"release": {
"full": "6.10.2-arch1-2",
"major": "6",
"minor": "10"
},
"selinux": {
"enabled": false
}
},
"puppetversion": "7.32.1"
} |
There's a bit of a catch-22 with facter's OS hierarchy. It needs to resolve the os family and distro to build the OS hierarchy, and then use the hierarchy to determine facts are applicable for that OS, which then resolves the OS family and distro facts. To break the deadlock, it uses RbConfig to detect the host
And then resolves additional information in facter/lib/facter/framework/detector/os_detector.rb Lines 65 to 86 in 4e912d8
|
Ah the problem is |
This is required to run the test suite on Devuan/Arch Linux boxes.
Fixed in #2753 |
Describe the Bug
Hi,
when running
rspec
on Arch Linux, a few tests fail:errors:
Expected Behavior
Passing tests with proper environment isolation
Steps to Reproduce
bundle exec rspec
Environment
Additional Context
The text was updated successfully, but these errors were encountered: