[augeas-devel] [Augeas] #78: save needs to record new files under /augeas/files
Augeas
trac at fedorahosted.org
Thu Jul 9 21:48:33 UTC 2009
#78: save needs to record new files under /augeas/files
--------------------+-------------------------------------------------------
Reporter: lutter | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.5.1
Keywords: |
--------------------+-------------------------------------------------------
When a file is created by writing to the tree, the corresponding entry
under /augeas/files needs to be created; e.g.
{{{
augtool> match /files/etc/sysconfig/network-scripts/ifcfg-eth42
(no matches)
augtool> set /files/etc/sysconfig/network-scripts/ifcfg-eth42/DEVICE eth42
augtool> save
Saved 1 file(s)
augtool> match /augeas/files/etc/sysconfig/network-scripts/ifcfg-eth42
(no matches)
}}}
The last match needs to return a node
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/78>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list