On Fri, May 7, 2010 at 19:10, John Philips <johnphilip...@yahoo.com> wrote:
> > 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 > > > I hadn't thought about that possibility. I will try it. Met vriendelijke groeten, Pieter Baele www.pieterb.be -- 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.