summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorPeter Souter <p.souter@kainos.com>2014-12-04 14:32:23 +0000
committerPeter Souter <p.souter@kainos.com>2014-12-04 14:32:39 +0000
commit75a6186512b0d4d02593453fcc9ffe5e1b253107 (patch)
treec98d936397dc7f8220f075182fd0a882340a8e09 /lib/puppet
parent368c97f08046696d453afca6e1f8001b5bfc88a5 (diff)
downloadpuppet-stdlib-75a6186512b0d4d02593453fcc9ffe5e1b253107.tar.gz
puppet-stdlib-75a6186512b0d4d02593453fcc9ffe5e1b253107.tar.bz2
(MODULES-444) Update docs with new functionality
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/functions/concat.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions/concat.rb b/lib/puppet/parser/functions/concat.rb
index 0d35b07..4b53f59 100644
--- a/lib/puppet/parser/functions/concat.rb
+++ b/lib/puppet/parser/functions/concat.rb
@@ -4,15 +4,15 @@
module Puppet::Parser::Functions
newfunction(:concat, :type => :rvalue, :doc => <<-EOS
-Appends the contents of array 2 onto array 1.
+Appends the contents of multiple arrays into array 1.
*Example:*
- concat(['1','2','3'],['4','5','6'])
+ concat(['1','2','3'],['4','5','6'],['7','8','9'])
Would result in:
- ['1','2','3','4','5','6']
+ ['1','2','3','4','5','6','7','8','9']
EOS
) do |arguments|