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

On RHEL 6.3 using facter version 1.6.18 the fact "$operatingsystemmajrelease" is not defined this affects nfs::idmap.pp #58

Closed
FayeG opened this issue Jul 15, 2015 · 1 comment

Comments

@FayeG
Copy link

FayeG commented Jul 15, 2015

I've had to add this fix to my top level scope get it to work:

snip---
if $operatingsystemmajrelease == undef and !("" in [$operatingsystemmajrelease]) {
$operatingsystemmajrelease = $::lsbmajdistrelease
}
snip---

See nfs::idmap lines 87-99 of 1.10.0

@ghoneycutt
Copy link
Owner

Hi @FayeG

I'm glad you were able to find that clever hack to get this going. It will surely help with other modules. Facter 1.6 is quite old. The fact in question was introduced in v1.7 though suggest upgrading to Facter v2.

Best,
-g

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

2 participants