Hi David, On 22/02/10 19:25, David Lutterkort wrote: > You can do this by looking for the entries with a single path > expression: > augtool> match /files/etc/hosts/*[ipaddr = '127.0.1.1'] > gives you all entries in /etc/hosts with that IP. To remove them, just > do 'rm' instead of 'match'. From your post, I wasn't sure if you had <snip> > [1] http://augeas.net/page/Path_expressions
Perfect, that's just what I was looking for and it works like a charm. Thanks, Paul. -- Paul Elliott, UNIX Systems Administrator Computing Service, University of York -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
