you can get this behavior if you manage the file as file fragments. We are currently working on publishing a module for this. In the mean time, volcane has created a nice implementation.
http://nephilim.ml.org/~rip/puppet/concatfile/<http://nephilim.ml.org/%7Erip/puppet/concatfile/> -Dan reductivelabs On Mon, Dec 14, 2009 at 4:06 PM, Frank Sweetser <f...@wpi.edu> wrote: > > I'm in the process of setting up sudoers entries to get managed by augeas. > As > part of this, I'd ideally like to have any entries which weren't put there > by > puppet to get purged out. If I were using a more specific native type, > like > users or hosts, I'd just use a resource entry and set purge => true. > > Is there any way I can get similar functionality with the augeas type? > > -- > Frank Sweetser fs at wpi.edu | For every problem, there is a solution > that > WPI Senior Network Engineer | is simple, elegant, and wrong. - HL > Mencken > GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC > > -- > > 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<puppet-users%2bunsubscr...@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-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.