On 6 January 2013 22:55, Chris Fordham <chris.fordham@rightscale.com> wrote:Can still configure /etc/sudoers by template as there may be other directives and comments not relevant for sudoers.d, e.g. https://github.com/opscode-cookbooks/sudo/blob/master/templates/default/sudoers.erb :)This is a good example of why template-based configuration is better usedrather than regex/stream based editing.well. d'uh! :-P I did not know about sudoers.d when I wrote it, otherwise I can assure you that we wouldn't be talking about this to begin with ;-)
-- Chris Fordham Backline Support Engineer RightScale Technical Services Direct: +1 805 243 0252 Cell: +61 423 003 417 Skype: chris.fordham.rs Email: chris.fordham@rightscale.com