Git Product home page Git Product logo

Comments (5)

gregswift avatar gregswift commented on June 26, 2024

what version of facter?

from puppet-selinux.

tommy-muehle avatar tommy-muehle commented on June 26, 2024

The facter version is "2.4.4".

from puppet-selinux.

A13x3i avatar A13x3i commented on June 26, 2024

Same problem with 2.4.4 version of facter , however version is defined

# facter operatingsystemmajrelease
6

Puppet version 4.2.2
and the bundle I'm working on has a different version of facter but has the same problem

# bundle exec facter --version
1.7.6
# bundle exec facter | grep opera
operatingsystem => CentOS
operatingsystemmajrelease => 6
operatingsystemrelease => 6.6
# bundle exec puppet --version
3.7.5

from puppet-selinux.

A13x3i avatar A13x3i commented on June 26, 2024

Ok I think I might have a solution for this one make sure you have the latest module from github
check the params.pp file it should have the following lines

34,40d33
<             '': {
<               # Fallback to lsbmajdistrelease, if puppet version is < 3.0
<               if($::lsbmajdistrelease == 5) {
<                 $sx_fs_mount = '/selinux'
<                 $package_name = 'policycoreutils'
<               }
<             }

if it doesn't you can copy them there it it will all work.
I think the problem is hat jfryman-selinux is not up to date on puppet forge e.g

# bundle exec librarian-puppet show | grep selinux
jfryman-selinux (0.2.5)

does not contain commit 646bfb8
Fixed in this pull request #54

Could you please update the puppet forge version ?

from puppet-selinux.

gregswift avatar gregswift commented on June 26, 2024

good catch. i kept looking at the code confused as to why that wasnt working.

still, even on puppet 2 i thought that variable would exist with the right version of facter

from puppet-selinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.