On Sun, 2009-01-25 at 15:21 -0800, Robin Lee Powell wrote: > On Mon, Jan 19, 2009 at 01:28:53PM -0800, David Lutterkort wrote: > > > > > > This is what I am trying to address with better path expressions in > > Augeas itself. That lets you write > > > > set "/files/etc/aliases/*[name = 'postmaster']/value" > > f...@bar.com > > > > to do exactly the same thing. > > That'd be excellent. I'd want a regex option there too, though.
Can you post some examples of how you'd want to use regexes to augeas-devel ? > Any idea when this will be out? In the next release - I posted patches to the list to implement that, just needs some volunteers to play with it some ;) > > This sort of brains (slicing and dicing the Augeas tree) really > > belongs into Augeas - the Puppet type should mostly bridge the gap > > between Augeas' command-oriented structure and Puppet's > > state-oriented veiw of the world. > > Fair enough. I didn't know you were trying to do this kind of stuff > on your end, and like I said, I was prepared to write the Puppet > stuff myself, because I can. I really can't help you with the > Augeas stuff, and I'm feeling impatient. :) But yes, you can .. by trying out the new XPath support and figuring out where it falls short of what you need ;) David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---