| Hi, I installed puppet-agent-7.1.0-1.el7.x86_64 on CentOS 7. puppet facts show os:
{ |
"os": { |
"architecture": "x86_64", |
"family": "RedHat", |
"hardware": "x86_64", |
"name": "CentOS", |
"release": { |
"full": "7.9.2009", |
"major": "7", |
"minor": "9" |
}, |
"selinux": { |
"config_mode": "enforcing", |
"config_policy": "targeted", |
"current_mode": "enforcing", |
"enabled": true, |
"enforced": true, |
"policy_version": "31" |
} |
} |
}
|
the lsb facts are missing because the rpm does not require redhat-lsb-core. With the package isntalled:
{ |
"os": { |
"architecture": "x86_64", |
"distro": { |
"codename": "Core", |
"description": "CentOS Linux release 7.9.2009 (Core)", |
"id": "CentOS", |
"release": { |
"full": "7.9.2009", |
"major": "7", |
"minor": "9" |
}, |
"specification": ":core-4.1-amd64:core-4.1-noarch" |
}, |
"family": "RedHat", |
"hardware": "x86_64", |
"name": "CentOS", |
"release": { |
"full": "7.9.2009", |
"major": "7", |
"minor": "9" |
}, |
"selinux": { |
"config_mode": "enforcing", |
"config_policy": "targeted", |
"current_mode": "enforcing", |
"enabled": true, |
"enforced": true, |
"policy_version": "31" |
} |
} |
}
|
facter does not print a warning that facts are missing because a dependency isn't installed. many modules depend on those facts. This issue isn't new since facter 4, it's present on facter 3 as well and probably not only on CentOS.
- Can you please update your packages to depend on the lsb packages on the platforms you support?
- Is there a documentation for dependencies like this for people that package facter for other platforms? (Like I do for Arch Linux)
|