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 requires the package redhat-lsb #41

Closed
gammamatrix opened this issue Aug 10, 2014 · 4 comments
Closed

CentOS requires the package redhat-lsb #41

gammamatrix opened this issue Aug 10, 2014 · 4 comments

Comments

@gammamatrix
Copy link

The variable $::lsbmajdistrelease in init.pp will be nil if the package redhat-lsb is not installed.

This will result with the failure message:

"nfs module only supports EL 5 and 6 and lsbmajdistrelease was detected as..."

Here is the package to require:

package { 'redhat-lsb':
    ensure  => present,
}

The redhat-lsb package is not a part of the minimal install for CentOS 6.

  • This probably applies to Scientific Linux as well.
@lesaux
Copy link

lesaux commented Aug 12, 2014

agreed!
ghoneycutt: any reason to prefer $::lsbmajdistrelease in favor of $$::operatingsystemmajrelease? (redhat-lsb not needed)

@ghoneycutt
Copy link
Owner

operatingsystemmajrelease is a fairly new fact in comparison to this code base. Actually looking to do this with other modules. Since the dawn of Puppet until three months ago, you had to have redhat-lsb to have the lsb* facts, which were used all over the show. Happy to see that we will not need them any longer and am quite happy to merge any PR's to fix this.

ghoneycutt/puppet-module-pam#67

@rnelson0 rnelson0 mentioned this issue May 19, 2015
@rnelson0
Copy link
Contributor

@ghoneycutt The PR above should fix the issue and bump the version to 1.8.1 so it's ready to go to the forge.

@ghoneycutt
Copy link
Owner

Thanks everyone. This has been fixed.

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

4 participants