From 53f8eb67378f6a8054cb107e72b094f070d40c83 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 5 Dec 2013 09:58:18 -0500 Subject: Tools: new Augeas driver --- schemas/augeas.xsd | 220 +++++++++++++++++++++++++++++++++++++++++++++++++++++ schemas/types.xsd | 13 +++- 2 files changed, 232 insertions(+), 1 deletion(-) create mode 100644 schemas/augeas.xsd (limited to 'schemas') diff --git a/schemas/augeas.xsd b/schemas/augeas.xsd new file mode 100644 index 000000000..0ede106f3 --- /dev/null +++ b/schemas/augeas.xsd @@ -0,0 +1,220 @@ + + + + + + Augeas commands + + + + + + + + + Implementation of the Augeas ``rm`` command. + + + + + + Delete nodes (and all children) matching the given Augeas + path expression. + + + + + + + + + + Implementation of the Augeas ``mv`` command. + + + + + + Move the node matching this path expression. ``source`` + must match exactly one node. + + + + + + + Move the node to this location. ``destination`` must match + either zero or one nodes. + + + + + + + + + + Implementation of the Augeas ``set`` command. + + + + + + Path to set the value for. If the path does not exist, it + and all of its ancestors will be created. + + + + + + + Value to set. + + + + + + + + + + Implementation of the Augeas ``clear`` command. + + + + + + Path whose value will be set to ``NULL``. If the path does + not exist, it and all of its ancestors will be created. + + + + + + + + + + Set multiple node values at once. + + + + + + The base path. + + + + + + + ``sub`` will be used as an expression relative to each node + that matches the :xml:attribute:`AugeasSetMultiCommand:base` + expression. + + + + + + + The value to set on all nodes that match + :xml:attribute:`AugeasSetMultiCommand:sub` relative to each + node matching :xml:attribute:`AugeasSetMultiCommand:base`. + + + + + + + + + + + + + + + + + Implementation of the Augeas ``ins`` command. + + + + + + The path to a node that will be the sibling of the new node. + + + + + + + The label of the new node to be created. + + + + + + + Where to create the node: ``before`` or ``after`` the + sibling given in :xml:attribute:`AugeasInsertCommand:path`. + + + + + + + + + + All available Augeas commands. + + + + + + + Implementation of the Augeas ``rm`` command. + + + + + + + Implementation of the Augeas ``mv`` command. + + + + + + + Implementation of the Augeas ``set`` command. + + + + + + + Implementation of the Augeas ``clear`` command. + + + + + + + Set multiple node values at once. + + + + + + + Implementation of the Augeas ``ins`` command. + + + + + + diff --git a/schemas/types.xsd b/schemas/types.xsd index 03d2e9ddc..ee4f13ea9 100644 --- a/schemas/types.xsd +++ b/schemas/types.xsd @@ -9,6 +9,7 @@ + @@ -41,6 +42,7 @@ + @@ -133,7 +135,7 @@ If the action is always run, or is only run when a bundle - has been modified. + has been modified. @@ -267,6 +269,7 @@ + @@ -394,6 +397,14 @@ + + + + The Augeas lens to use when editing files in a non-standard + (according to Augeas) location. + + + -- cgit v1.2.3-1-g7c22