summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/functions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb
index 854f3ac9f..5f0930c6a 100644
--- a/lib/puppet/parser/functions.rb
+++ b/lib/puppet/parser/functions.rb
@@ -176,7 +176,8 @@ module Functions
newfunction(:template, :type => :rvalue, :doc => "Evaluate a template and
return its value. See [the templating docs](../advanced/templating.html)
- for more information.") do |vals|
+ for more information. Note that if multiple templates are specified, their
+ output is all concatenated and returned as the output of the function.") do |vals|
require 'erb'
vals.collect do |file|