Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
FACT 3.1.8, FACT 3.3.0
-
None
-
Bug Fix
-
Previously the Gentoo os::release fact was incorrectly reporting kernel version. Switch to reporting the release version from /etc/gentoo-release.
Description
It seems that Facter doesn't read the gentoo-release file correctly, instead providing the kernel version as os release data.
$ facter os
|
{
|
architecture => "amd64",
|
family => "Gentoo",
|
hardware => "x86_64",
|
name => "Gentoo",
|
release => {
|
full => "4.8.0",
|
major => "4",
|
minor => "8"
|
},
|
selinux => {
|
enabled => false
|
}
|
}
|
$ cat /etc/gentoo-release
|
Gentoo Base System release 2.2
|