summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDominic Cleal <dcleal@redhat.com>2011-08-17 08:02:10 +0100
committerDominic Cleal <dcleal@redhat.com>2011-08-17 08:02:10 +0100
commit35c10060ed647ba221289d1edf90ce0c587b6c74 (patch)
tree2a39463eb72a50a6c65b323e69a078b6cc1af352 /lib
parentfe22c1c4819d035af02c9db5d065a712dc2d0e3c (diff)
downloadpuppet-35c10060ed647ba221289d1edf90ce0c587b6c74.tar.gz
puppet-35c10060ed647ba221289d1edf90ce0c587b6c74.tar.xz
puppet-35c10060ed647ba221289d1edf90ce0c587b6c74.zip
(#9039) Update Augeas commands documentation
Added documentation on commands added as part of #6494 and clarified existing commands documentation.
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/augeas.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/puppet/type/augeas.rb b/lib/puppet/type/augeas.rb
index f4d3c43e1..05dd42625 100644
--- a/lib/puppet/type/augeas.rb
+++ b/lib/puppet/type/augeas.rb
@@ -95,13 +95,18 @@ Puppet::Type.newtype(:augeas) do
Commands supported are:
set [PATH] [VALUE] Sets the value VALUE at loction PATH
+ setm [PATH] [SUB] [VALUE] Sets multiple nodes matching SUB relative to PATH, to VALUE
rm [PATH] Removes the node at location PATH
remove [PATH] Synonym for rm
- clear [PATH] Keeps the node at PATH, but removes the value.
+ clear [PATH] Sets the node at PATH to NULL, creating it if needed
ins [LABEL] [WHERE] [PATH] Inserts an empty node LABEL either [WHERE={before|after}] PATH.
insert [LABEL] [WHERE] [PATH] Synonym for ins
+ mv [PATH] [PATH] Moves a node at PATH to the new location PATH
+ move [PATH] [PATH] Synonym for mv
+ defvar [NAME] [PATH] Sets Augeas variable $NAME to PATH
+ defnode [NAME] [PATH] [VALUE] Sets Augeas variable $NAME to PATH, creating it with VALUE if needed
- If the parameter 'context' is set that value is prepended to PATH"
+ If the parameter 'context' is set that value is prepended to a relative PATH"
end