saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Ability to add additional paths to secure_path

jameskirsop opened this issue · comments

I'd love to be able to add a list of additional paths to the sudoers file to have a standard path variable across our fleet.

Are you planning on managing your sudoers config with puppet for all your fleet?

Yep! That's the plan for our deployment where we're using puppet.

We'd like some particular paths included to simplify administration for our admins.

If I get time, I might try and code something up and put in a PR. For the minute I'll just keep using the full path to the binaries we're running.

If it's easier, you can simply edit the template on your puppet server (if you're using a server). But make sure you remember that if you upgrade the module, your change will be overwritten, but I assume that would be temporary.

Maybe content parameter on class sudo will help you to get this working for you for now.
Just pass in a different template for the sudoers file.

@jameskirsop If you're able to find the time for a PR, this would be great!

This issue is now fixed. There will be a new release soon.