saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs
Other
107 stars 215 forks source link

Add Puppet binaries to secure_path #190

Closed sigv closed 7 years ago

sigv commented 7 years ago

The /opt/puppetlabs/bin directory has already been appended to the secure_path for the sudoers template. It should also be added to all the static pre-generated files used for the various operating systems, since those are the files that will be most used and will have the biggest benefit of allowing running sudo puppet instead of having to rely on using the full path.

This is a pull request for an issue originally reported as #177.