summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-10 21:27:40 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-05-10 21:27:40 +0000
commit55666a515ace73680eaacc7f496fd89305c47f89 (patch)
tree2e476fbbb365fe4f764b209bf79feb1aca40adfd /lib/puppet/parser
parent1d23013abf9e8db5aa405c87ac6657df3f050926 (diff)
downloadpuppet-55666a515ace73680eaacc7f496fd89305c47f89.tar.gz
puppet-55666a515ace73680eaacc7f496fd89305c47f89.tar.xz
puppet-55666a515ace73680eaacc7f496fd89305c47f89.zip
correcting some of the function reference docs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2502 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/functions.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb
index c3208c4c9..c2f27a6b0 100644
--- a/lib/puppet/parser/functions.rb
+++ b/lib/puppet/parser/functions.rb
@@ -142,7 +142,7 @@ module Functions
# specified tags are unset, we return false.
newfunction(:tagged, :type => :rvalue, :doc => "A boolean function that
tells you whether the current container is tagged with the specified tags.
- The tags are ANDed, so thta all of the specified tags must be included for
+ The tags are ANDed, so that all of the specified tags must be included for
the function to return true.") do |vals|
classlist = self.classlist
@@ -196,9 +196,12 @@ module Functions
end
newfunction(:template, :type => :rvalue, :doc => "Evaluate a template and
- return its value. See [the templating docs](/trac/puppet/wiki/PuppetTemplating)
+ return its value. See `the templating docs`_
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|
+ output is all concatenated and returned as the output of the function.
+
+ .. _the templating docs: /trac/puppet/wiki/PuppetTemplating
+ ") do |vals|
require 'erb'
vals.collect do |file|