You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The facter RPM probably should pull in redhat-lsb as a dep.
I'm not enthusiastic about putting that logic into the module as it's working around what is really a fact problem. I'd rather do something line checking for the defined-ness of the used lsb fact and failing if it's not set, introducing a dep on a module that will install the redhat-lsb package, or using ensure_packages() from stdlib to make sure redhat-lsb is present.
I firmly believe that facter should not require redhat-lsb. That's a whole load of software many people do not want on their servers (including CUPS).
The problem here is that I actually do include lsb in my manifests along with include ipmi, but catalog compilation fails. Perhaps you could use $::operatingsystemmajrelease instead of $::lsbmajdistrelease?
Or do you really need to fail on the default of case $::lsbmajdistrelease { }?
@jhoblitt
When installing
@core
on EL6 during kickstart,redhat-lsb
is not installed resulting in the following on the first Puppet run:Module ipmi is not supported on lsbmajdistrelease at /etc/puppetlabs/puppet/modules/forge/ipmi/manifests/params.pp:26
I try not to use LSB facts, and will throw the following in the params.pp and reference
$::module::params::majdistrelease
in the module code:The text was updated successfully, but these errors were encountered: