Skip to content
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

Centos 7 - undef lsbmajdistrelease (legacy facts) #56

Closed
tsmgeek opened this issue Oct 7, 2021 · 0 comments
Closed

Centos 7 - undef lsbmajdistrelease (legacy facts) #56

tsmgeek opened this issue Oct 7, 2021 · 0 comments

Comments

@tsmgeek
Copy link

tsmgeek commented Oct 7, 2021

It seems that an error is thrown indicating lsbmajdistrelease is Undef.

if versioncmp($::lsbmajdistrelease, '7') < 0 {

After doing some searching it seems that yum install redhat-lsb-core is needed so that required modules are installed for faceter to pull data.

lsbdistcodename => Core
lsbdistdescription => CentOS Linux release 7.9.2009 (Core)
lsbdistid => CentOS
lsbdistrelease => 7.9.2009
lsbmajdistrelease => 7
lsbminordistrelease => 9
lsbrelease => :core-4.1-amd64:core-4.1-noarch

It may be an idea to replace with modern facts, found this ticket on another plugin.
puppetlabs/puppetlabs-kubernetes#174

NITEMAN added a commit that referenced this issue Jan 5, 2022
@NITEMAN NITEMAN closed this as completed in f14d460 Jan 5, 2022
NITEMAN added a commit that referenced this issue Jan 5, 2022
Switch to use modern facts. Fix #56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant