Closed fatmcgav closed 10 years ago
the problem is, as far as i know, sudo < 1.7.0 does not support the #includedir directive. so this module will not work with sudo < 1.7.0. i've fixed this issue in my local fork which i will push asap.
i forgot to mention that with rhel 5.5. there's a new version of sudo (1.7.2). so you should set autoupgrade to true. the next problem is that the default sudo config does not have #includedir. so either you set config_replace to true (which does not work well if there are existing entries...) or you use augeas to add #includedir. my fork is going to include the augeas part.
@tosmi Yeh, I hit the same issue with includedir not being supported, so I switched to using autoupgrade to move all EL5 servers to use Sudo > 1.7.
So from my point of view, happy for this one to be closed. Unless u want to support Sudo < 1.7 aswell...
Cheers Gav
As defined here, sudo > 1.7.0 introduced some new config values, which aren't supported < 1.7.0.
This results in the sudo config being broken on a stock Centos 5 install, which uses sudo-1.6.8p12-12.el5.
Initial thought is to have a different config file for RHEL5 vs RHEL6, as RHEL6 ships with sudo-1.7.4p5-13.el6_3.x86_64 so supports the new values...