On Tue, Jun 9, 2009 at 1:09 PM, Bryan Kearney <bkear...@redhat.com> wrote:
> > Bryan Kearney wrote: > >> thanks > > > > > > ok.. I think this is it in augtool: > > > > match /files/etc/modprobe.conf/*[.="foo"] > > > > so.. in the plugin you can do > > > > 'match /files/etc/modprobe.conf/*[.="foo"] size = 0' > > > > more specific matching: > > match /files/etc/modprobe.conf/alias[.="foo"] > The problem with modprobe.conf is that it is more like: command args than key value key value usually has unique keys, but command args doesn't. It's kind of weird A lot of those commands work on something else, say /etc/hosts, or /etc/fstab, something that is key value, but just not working on /etc/modprobe.conf. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---