Comments (7)
I don't understand this request. It looks like this fact is already present : https://github.com/camptocamp/facterdb/blob/master/facts/3.3/debian-8-x86_64.facts#L209-L220
from facterdb.
It is present for some OS and not for others. I noticed it missing for CentOS 6 and 7 and Redhat 6 and 7.
When I run Facter on a CentOS 6 machine, I get this:
os => {
architecture => "x86_64",
distro => {
codename => "Final",
description => "CentOS release 6.8 (Final)",
id => "CentOS",
release => {
full => "6.8",
major => "6",
minor => "8"
},
specification => ":base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch"
},
family => "RedHat",
hardware => "x86_64",
name => "CentOS",
release => {
full => "6.8",
major => "6",
minor => "8"
},
selinux => {
config_mode => "enforcing",
current_mode => "enforcing",
enabled => true,
enforced => true,
policy_version => "24"
}
}
from facterdb.
Maybe this fact requires lsb-core
which is not installed by default on RHEL.
from facterdb.
from facterdb.
Yes, the os.distro fact comes from lsb_release, so the package containing that program needs to be installed (redhat-lsb-core on Fedora and derivatives, lsb-release on Debian and derivatives).
from facterdb.
I think this project should not supports facts that are not available by default.
I think there are standard facts that could be used instead of os::distro
.
from facterdb.
I agree with @mcanevet that the facterdb factsets should represent the facts that are available on a system by default, otherwise they're not accurate representations.
from facterdb.
Related Issues (20)
- RHEL 7 os.release.full values are incorrect HOT 1
- Overriding BSD architecture or missing OS entirely HOT 1
- facterdb conflict HOT 2
- FacterDB appears to not give a os.family for solaris 11 on facter 4 HOT 2
- New gem release required prior to Puppet 7 to resolve dependency issues HOT 1
- Include CentOS 8 stream facts HOT 7
- Add AlmaLinux HOT 9
- Several OS files under version 4.2 are missing the mountpoints fact HOT 5
- Regression test to verify factsets have required facts HOT 2
- service_provider centos 7 HOT 3
- Factsets for FreeBSD 13 have a blank hostname HOT 2
- ubuntu facts from 21.04 are missing the aio_agent_version fact. HOT 2
- IP addresses are different on RedHat and other distributions
- Debian 12 support
- Failed to add new OS support due to errors when `vagrant up --provision` HOT 4
- Script to check if newly generated facts are significantly different
- Architecture Support HOT 2
- CHANGELOG format
- 2.0.1 release summary
- Add Support for Ubuntu 24.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facterdb.