summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-05 17:15:12 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-05 17:15:12 +0000
commit2728f500c62118a19b5f93640747cbfdbd97a9bd (patch)
tree3d6d62cdf88faf64c3991df409b7fc3c39858b2d /lib/puppet/parser
parent704bd761057f075a0754bf6880bbb5c3b6014695 (diff)
downloadpuppet-2728f500c62118a19b5f93640747cbfdbd97a9bd.tar.gz
puppet-2728f500c62118a19b5f93640747cbfdbd97a9bd.tar.xz
puppet-2728f500c62118a19b5f93640747cbfdbd97a9bd.zip
Adding a bit more comments to the :template function
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2053 980ebf18-57e1-0310-9a29-db15c13687c0
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|