Coder Social home page Coder Social logo

Comments (8)

tosmi avatar tosmi commented on July 21, 2024

did you try to use the latest version (3.0.3)? it includes a fix for redhat 5 with sudo versions < 1.7. we just add the includedir entry with augeas, so it's not necessary to set config_file_replace to true, you could change it from the default to false and everything should work as expected.

from puppet-sudo.

saz avatar saz commented on July 21, 2024

@cdepillabout the #includedir directive isn't supported on RHEL5?

from puppet-sudo.

tosmi avatar tosmi commented on July 21, 2024

yeah sorry, my mistake. #includedir is only supported with sudo >=1.7.2. version 1.7.2 does not have the #includedir option in /etc/suoders per default, so the augeas part in init.pp fixes that. but you still have to ensure that the installed sudo version is >= 1.7.2.

redhat updated the sudo package to 1.7.2 in rhel 5.5.

we fixed that internally by setting package ensure to 'latest' on redhat 5. ones solution would be to set package_ensure to latest (or 1.7.2) if the redhat release is < 5.5 in params.pp.

from puppet-sudo.

saz avatar saz commented on July 21, 2024

@tosmi your workaround sounds good to me.

from puppet-sudo.

tosmi avatar tosmi commented on July 21, 2024

ok, i'm looking into implementing the workaround. will take some time as i also have to test this :)
i have to find a test system...

from puppet-sudo.

cdepillabout avatar cdepillabout commented on July 21, 2024

tosmi, that workaround sounds like it would fix my problem. Thanks!

from puppet-sudo.

tosmi avatar tosmi commented on July 21, 2024

just for the record #62 should fix this.

from puppet-sudo.

cdepillabout avatar cdepillabout commented on July 21, 2024

Thank you. This fixes my problem.

from puppet-sudo.

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.