But this way, /etc/sudoers can't be managed by Puppet, because It will be overwritten by puppet. You could have your script set the immutable attribute on the sudoers file. Then puppet won't be able to change it.
chattr +i /etc/sudoers When you want puppet to start managing the file again, remove the attribute. chattr -i /etc/sudoers -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.