[augeas-devel] [Augeas] #216: Support path context for aug_srun
Augeas
trac at fedorahosted.org
Thu Aug 11 19:33:36 UTC 2011
#216: Support path context for aug_srun
-------------------------+--------------------------------------------------
Reporter: domcleal | Owner: lutter
Type: enhancement | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: devel
Keywords: aug_srun |
-------------------------+--------------------------------------------------
The Puppet provider for Augeas currently supports the notion of a context
for commands, so relative paths can be given, shortening the commands.
Augeas should natively support a context for command processing with
aug_srun and ideally for augtool too.
Example:
context => "/files/etc/fstab",
changes => "set *[file = '/']/opt noatime",
Unless a path begins with '/' then the context is prepended.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/216>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list