[augeas-devel] [Augeas] #198: Add context path to decrease load time

Augeas trac at fedorahosted.org
Sat May 7 01:19:09 UTC 2011


#198: Add context path to decrease load time
--------------------------+-------------------------------------------------
  Reporter:  kc7zzv       |       Owner:  lutter  
      Type:  enhancement  |      Status:  assigned
  Priority:  major        |   Milestone:  next    
 Component:  Augeas       |     Version:  0.8.0   
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by lutter):

  * status:  new => assigned

Comment:

 Have a look at the [https://www.redhat.com/archives/augeas-
 devel/2011-May/msg00009.html patch series] I just posted.

 With these patches, it is possible to run 'augtool --noload' and issue the
 following commands to only load the files containing a path like
 '/etc/hosts/1'


 {{{
     rm /augeas/load/*[ '/etc/hosts/1' !~ glob(incl) + regexp('/.*') ]
     load
 }}}

 With that, it should be easy to extend the puppet augeas type to do what
 you describe.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/198#comment:1>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list