summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-02-14 09:57:49 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-02-14 09:57:49 +1100
commit2561c8e252dcf66890513458750bb1329a03beec (patch)
tree8b5bc647fb956e6d1ab31979490267aa7f9f79cb /lib
parent7d7218698ffbe917f4c0882d47bee32a938f79ce (diff)
downloadpuppet-2561c8e252dcf66890513458750bb1329a03beec.tar.gz
puppet-2561c8e252dcf66890513458750bb1329a03beec.tar.xz
puppet-2561c8e252dcf66890513458750bb1329a03beec.zip
Updated Augeas type code
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/augeas.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/puppet/type/augeas.rb b/lib/puppet/type/augeas.rb
index 67b62e886..c89400b5e 100644
--- a/lib/puppet/type/augeas.rb
+++ b/lib/puppet/type/augeas.rb
@@ -92,10 +92,12 @@ Puppet::Type.newtype(:augeas) do
rm [PATH] Removes the node at location PATH
remove [PATH] Synonym for rm
clear [PATH] Keeps the node at PATH, but removes the value.
- ins [PATH] Inserts an empty node at PATH.
- insert [PATH] Synonym for ins
+ ins [LABEL] [WHERE] [PATH]
+ Inserts an empty node LABEL either [WHERE={before|after}] PATH.
+ insert [LABEL] [WHERE] [PATH]
+ Synonym for ins
- If the parameter 'context' is set that that value is prepended to PATH"
+ If the parameter 'context' is set that value is prepended to PATH"
munge do |value|
provider.parse_commands(value)