#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
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel