Depending on your sudo version you could also put snippets in /etc/sudoers.d. This has the advantage of allowing each class to manage its own sudoers file without any Puppet conflicts. On Jun 10, 2012 3:56 AM, "Ryan Bowlby" <rbowlb...@gmail.com> wrote:
> Hi All, > > I am using the file_line type included in stdlib to add a line to > /etc/sudoers. On each run the sudo module replaces /etc/sudoers, then > file_line resource adds the line back. It's happening on each run and I > can't seem to figure out to get the sudo module's file resource to stop > replacing the file on each run. I was hoping the file resource would ignore > any lines propagated by the file_line resource. Is this a bug or am I just > missing something? > > -Ryan > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/L7OtmlWKio0J. > To post to this group, send email to puppet-users@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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.