[augeas-devel] [Augeas] #7: match lists nodes that do not exist
Augeas
trac at fedorahosted.org
Wed Aug 13 13:13:40 UTC 2008
#7: match lists nodes that do not exist
---------------------+------------------------------------------------------
Reporter: raphink | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.2.2
Keywords: |
---------------------+------------------------------------------------------
{{{
augtool> match /files/etc/bb/bb-hosts/page/group-compress/host/probes/ssh
/files/etc/bb/bb-hosts/page[16]/group-compress[8]/host[3]/probes/ssh = !
/files/etc/bb/bb-hosts/page[23]/group-compress[22]/host[1]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[22]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[23]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[24]/host[1]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[24]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[25]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[25]/host[3]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[26]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[26]/host[3]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[23]/group-compress[27]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[2]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[4]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[5]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[6]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[7]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[8]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[9]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[14]/host[9]/probes/ssh =
(none)
/files/etc/bb/bb-hosts/page[35]/group-compress[14]/host[10]/probes/ssh =
(none)
augtool> print /files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]/ip = "0.0.0.0"
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]/fqdn =
"myexample.net"
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]/probes
/files/etc/bb/bb-hosts/page[35]/group-compress[6]/host[3]/probes/url =
"http://myexample.net/test.html"
}}}
How did it match a ssh field and could not list it afterwards?
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/7>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list