summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-08-17 10:49:27 -0700
committerDaniel Pittman <daniel@rimspace.net>2011-08-17 10:49:27 -0700
commit020c47645c7d882b1eac5150fd47227806af8aed (patch)
tree7d310841f78bc233db6cb0de11dec77ec24ddd7b /lib
parent0702c0cde0f161e2f43bdf195eb3fb0b749aa3d7 (diff)
parent35c10060ed647ba221289d1edf90ce0c587b6c74 (diff)
downloadpuppet-020c47645c7d882b1eac5150fd47227806af8aed.tar.gz
puppet-020c47645c7d882b1eac5150fd47227806af8aed.tar.xz
puppet-020c47645c7d882b1eac5150fd47227806af8aed.zip
Merge pull request #43 from domcleal/tickets/2.7.x/9039
(#9039) Update Augeas 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 c96986e7e..f02cfe6e2 100644
--- a/lib/puppet/type/augeas.rb
+++ b/lib/puppet/type/augeas.rb
@@ -96,13 +96,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