Doing proper validation of correctness of sudoers lines.
authorDan Bode <dan@bodepd.com>
Thu, 25 Mar 2010 07:55:22 +0000 (02:55 -0500)
committerDan Bode <dan@bodepd.com>
Thu, 25 Mar 2010 07:55:22 +0000 (02:55 -0500)
commit598f1c19cea15f70907c4bd426ab6fe69675ce87
tree933851631598186eed34b0990c8d4e5a9153436b
parentfebe7a9d7597245284686e6c694fdb2645fa3262
Doing proper validation of correctness of sudoers lines.
I figured its probably better to check lines before I add them to the file.
As opposed to trashing the sudoers file, and failing afterwards.
lib/puppet/provider/sudoers/parsed.rb